AUDIO_PROCESSING_CHANNELS
Number of channels for audio preprocessing.
In scenarios such as concerts where enhanced realism is required, local users may need to capture 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 stereo sound from 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 set dual-channel processing to achieve stereo. It is recommended to configure it as follows:
- Preprocessing: Call SetAdvancedAudioOptions and set
audioProcessingChannelsin AdvancedAudioOptions toAUDIO_PROCESSING_STEREO(2). - Postprocessing: Call SetAudioProfile [2/2] and set
profiletoAUDIO_PROFILE_MUSIC_STANDARD_STEREO(3) orAUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO(5).
Note:
- Stereo settings only take effect under media volume.
- On iOS, stereo is supported on iOS version 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
- AUDIO_PROCESSING_MONO
- 1: (Default) Mono.
- AUDIO_PROCESSING_STEREO
- 2: Stereo.