文档

支持

Vivox Core SDK

Vivox Core SDK

Initialize the AVAudioSession on app startup

Considerations around initializing AVAudioSession when your application starts.
阅读时间1 分钟最后更新于 12 天前

We strongly recommend that you set the AVAudioSession to AVAudioSessionCategoryPlayback, AVAudioSessionCategoryAmbient, or to another non-recording category on app startup. Caution: Configuring the AVAudioSession near to or during voice chat can lead to unexpected volume changes. Limit this activity to the early stages of the app’s life cycle, unless you are restoring the device audio volume.