AudioEncoderConfiguration is the interface that defines the audio encoder configurations.
AudioEncoderConfiguration
You can customize the audio encoder configurations when calling [AgoraRTC.createCustomAudioTrack]IAgoraRTC.createCustomAudioTrack, [AgoraRTC.createMicrophoneAudioTrack]IAgoraRTC.createMicrophoneAudioTrack or [AgoraRTC.createBufferSourceAudioTrack]IAgoraRTC.createBufferSourceAudioTrack.
Optional
Bitrate of the audio (Kbps).
Sample rate of the audio (Hz).
Sample size of the audio.
Whether to enable stereo.
AudioEncoderConfiguration
is the interface that defines the audio encoder configurations.You can customize the audio encoder configurations when calling [AgoraRTC.createCustomAudioTrack]IAgoraRTC.createCustomAudioTrack, [AgoraRTC.createMicrophoneAudioTrack]IAgoraRTC.createMicrophoneAudioTrack or [AgoraRTC.createBufferSourceAudioTrack]IAgoraRTC.createBufferSourceAudioTrack.