AVAudioPlayer volume inconsistencies
Learn how to resolve volume inconsistencies with AVAudioPlayer.
Read time 1 minuteLast updated 2 days ago
If your app uses AVAudioPlayer, you must call prepareToPlay() before the Vivox SDK uses the microphone. If prepareToPlay() is called while the Vivox SDK is using the microphone, the audio for that instance of the AVAudioPlayer will be at a lower volume. For more information, refer to the Apple developer documentation on
prepareToPlay()