AudioProcessingChannels
The number of channels for audio preprocessing.
In scenarios that require enhanced realism, such as concerts, local users might need to capture stereo audio and send stereo signals to remote users. For example, the singer, guitarist, and drummer are standing in different positions on the stage. The audio capture device captures their stereo audio and sends stereo signals to remote users. Remote users can hear the song, guitar, and drum from different directions as if they were at the auditorium.
You can set the dual-channel processing to implement stereo audio in this class. Agora recommends the following settings:
- Preprocessing: call setAdvancedAudioOptions and set audioProcessingChannels to AudioProcessingStereo (2) in AdvancedAudioOptions.
- Post-processing: call setAudioProfile and set profile to AudioProfileMusicStandardStereo (3) or AudioProfileMusicHighQualityStereo (5).
Attention:
-
The stereo setting only takes effect when the SDK uses the media volume.
Enumerator
- AudioProcessingMono
- 1: (Default) Mono.
- AudioProcessingStereo
- 2: Stereo.