AudioEncodedFrameObserverConfig

Used to configure the encoded audio observer.

public class AudioEncodedFrameObserverConfig {
  public int postionType;
  public int encodingType;
}

Properties

postionType
The capture position of the audio observer:
  • AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC (1): Captures only the local user's audio.
  • AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK (2): Captures only the audio of all remote users.
  • AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED (3): Captures the mixed audio of the local and all remote users.
encodingType
Audio encoding type:
  • AUDIO_ENCODING_TYPE_AAC_16000_LOW: AAC format, 16000 Hz sample rate, low quality. About 1.2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM: AAC format, 16000 Hz sample rate, medium quality. About 2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_AAC_32000_LOW: AAC format, 32000 Hz sample rate, low quality. About 1.2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM: AAC format, 32000 Hz sample rate, medium quality. About 2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_AAC_32000_HIGH: AAC format, 32000 Hz sample rate, high quality. About 3.5 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM: AAC format, 48000 Hz sample rate, medium quality. About 2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_AAC_48000_HIGH: AAC format, 48000 Hz sample rate, high quality. About 3.5 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_OPUS_16000_LOW: OPUS format, 16000 Hz sample rate, low quality. About 2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM: OPUS format, 16000 Hz sample rate, medium quality. About 2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM: OPUS format, 48000 Hz sample rate, medium quality. About 2 MB for 10 minutes of encoded audio.
  • AUDIO_ENCODING_TYPE_OPUS_48000_HIGH: OPUS format, 48000 Hz sample rate, high quality. About 3.5 MB for 10 minutes of encoded audio.