Documentation
All
API Reference
AudioEncoderConfiguration | Agora Web SDK API Reference v4.13.0
Agora Web SDK API Reference
Hierarchy
-
AudioEncoderConfiguration
Properties
Optional bitrate
bitrate: undefined | number
Optional sampleRate
sampleRate: undefined | number
Optional sampleSize
sampleSize: undefined | number
Optional stereo
stereo: undefined | false | true
AudioEncoderConfiguration
is the interface that defines the audio encoder configurations.You can customize the audio encoder configurations when calling AgoraRTC.createCustomAudioTrack, AgoraRTC.createMicrophoneAudioTrack or AgoraRTC.createBufferSourceAudioTrack.