AudioProcessingChannelsEnum

Sets the number of channels for audio preprocessing.

In scenarios requiring enhanced realism, such as concerts, local users may need to capture stereo audio and send it to remote users. For example, a singer, guitarist, and drummer are positioned at different locations on stage. The audio capture device collects their stereo audio and sends it to remote users. Remote users can hear the vocals, guitar, and drums from different directions, as if they were in the audience. You can achieve stereo by enabling stereo processing. Agora recommends the following settings:
  1. Preprocessing: Call setAdvancedAudioOptions and set audioProcessingChannels in AdvancedAudioOptions to AGORA_AUDIO_STEREO_PROCESSING (2);
  2. Post-processing: Call setAudioProfile(int profile) and set profile to MUSIC_STANDARD_STEREO (3) or MUSIC_HIGH_QUALITY_STEREO (5).
Note: Stereo settings only take effect when the SDK uses media volume.

Enumerations

AGORA_AUDIO_MONO_PROCESSING
(1): (Default) Mono.
AGORA_AUDIO_STEREO_PROCESSING
(2): Stereo.