AudioProcessingChannels

Number of audio preprocessing channels.

In scenarios such as concerts where enhanced realism is needed, local users may need to capture and send stereo audio signals to remote users. For example, on a concert stage, the lead singer, guitarist, and drummer stand in different positions. The on-site equipment captures the stereo sound of all three and sends the stereo signal to remote users, allowing them to hear vocals, guitar, and drums from different directions as if they were on stage. With this class, you can configure dual-channel processing to achieve stereo sound. It is recommended to configure it as follows:
  1. Preprocessing: Call setAdvancedAudioOptions and set audioProcessingChannels to AudioProcessingStereo (2) in AdvancedAudioOptions.
  2. Post-processing: Call setAudioProfile and set profile to AudioProfileMusicStandardStereo (3) or AudioProfileMusicHighQualityStereo (5).
Note:
  • Stereo settings take effect only under media volume.
To learn the difference between media volume and call volume.
  • On iOS, stereo is supported on iOS 14.0 and above. Minimum device requirements:
    • iPhone XS
    • iPhone XS Max
    • iPhone XR
    • iPhone 11
    • iPhone 11 Pro
    • iPhone 11 Pro Max
    • iPhone SE (2020)
    • 11-inch or 12.9-inch iPad Pro (3rd generation)
    • 11-inch or 12.9-inch iPad Pro (4th generation)

Enumerations

AudioProcessingMono
1: (Default) Mono.
AudioProcessingStereo
2: Stereo.