AudioEncodedFrameObserverConfig
编码后音频的观测器设置。
C#
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; }
}
postionType
音频编码内容。详见 AUDIO_ENCODED_FRAME_OBSERVER_POSITION。
encodingType
音频编码类型。详见 AUDIO_ENCODING_TYPE。