Documentation

​
​

Development

User Acquisition

Monetization

Industry

Vivox Unreal SDK

Vivox Unreal SDK

Vivox
​
​
Vivox Unreal SDK
  • Overview
  • Get started
  • Release notes
  • Developer guide
    • Set up your project
    • Unity Authentication Service in Unreal
    • Create voice and text channels
    • Messaging
    • Audio management
    • Muting
    • In-game moderation
    • Android app development
    • iOS app development
      • Acoustic echo cancellation
      • Initialize the AVAudioSession on app startup
      • AVAudioSessionModeVoiceChat
      • AVAudioSession configuration when using WWise
      • iOS known limitations
        • Cannot set iOS device volume to 0 when Voice-Processing I/O unit is active
        • The iOS microphone recording indicator
        • AVAudioPlayer volume inconsistencies
        • Volume shifts
        • Restore audio volume
    • Server-side recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Real-time recording
    • Transmission
    • Troubleshooting
  • Tutorials
  • Reference
  1. Vivox Unreal SDK documentation

AVAudioPlayer volume inconsistencies

Learn how to resolve volume inconsistencies with AVAudioPlayer.
Read time 1 minute
Last updated 8 months 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()
.
This behavior can also occur when recovering from an audio interruption. For a workaround, see Restore audio volume.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page