# AudioEncodedFrameObserverConfig (/zh-CN/api-reference/rtc/csharp-windows/class-audioencodedframeobserverconfig)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```csharp
public class AudioEncodedFrameObserverConfig
{
public AudioEncodedFrameObserverConfig()
{
postionType = AUDIO_ENCODED_FRAME_OBSERVER_POSITION.AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK;
encodingType = AUDIO_ENCODING_TYPE.AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM;
}
public AudioEncodedFrameObserverConfig(AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType,
AUDIO_ENCODING_TYPE encodingType)
{
this.encodingType = encodingType;
this.postionType = postionType;
}
public AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType { set; get; }
public AUDIO_ENCODING_TYPE encodingType { set; get; }
}
```
## 属性 [#属性]
音频编码内容。详见 [AUDIO_ENCODED_FRAME_OBSERVER_POSITION](/zh-CN/api-reference/rtc/csharp-windows/enum-audioencodedframeobserverposition)。
音频编码类型。详见 [AUDIO_ENCODING_TYPE](/zh-CN/api-reference/rtc/csharp-windows/enum-audioencodingtype)。