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

Volume shifts

Learn how to manage volume shifts on iOS.
Read time 1 minute
Last updated 8 months ago

iOS increases the volume of ducked game audio unexpectedly and without notification when certain device events occur. An example of this scenario is when you dismiss the AirPods battery dialog.
The following steps detail how to reproduce this behavior:
  1. Connect the AirPods.
  2. Configure the AVAudioSession with:
    • AVAudioSessionCategoryPlayAndRecord
    • AVAudioSessionModeVoiceChat
  3. Open the capture device with VoiceProcessingIO enabled. To do this, use either:
    • A CoreAudio Audio Unit with the
      kAudioUnitSubType_VoiceProcessingIO
      subtype
    • An AVAudioEngine input node and call
      setVoiceProcessingEnabled(true)
  4. Play audio from an AVAudioPlayer.
  5. Open the AirPods case.
  6. Dismiss the AirPods battery dialog.
    Note that the audio player volume increases significantly.

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