audioprocessingchannels

Number of audio preprocessing channels.

In scenarios such as concerts where a realistic experience is desired, the local user may need to capture stereo and send stereo 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 their stereo sound and sends it to remote users, who can hear the 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. It is recommended to configure as follows:
  1. Preprocessing: Call setAdvancedAudioOptions and set audioProcessingChannels to audioProcessingStereo (2) in AdvancedAudioOptions.
  2. Post-processing: Call setAudioProfile2 and set profile to audioProfileMusicStandardStereo (3) or audioProfileMusicHighQualityStereo (5).
Note:
  • Stereo settings only take effect under the media volume.
To learn the difference between media and communication 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 gen)
    • 11-inch or 12.9-inch iPad Pro (4th gen)

Enumerations

audioProcessingMono
1: (Default) Mono.
audioProcessingStereo
2: Stereo.