Post not yet marked as solved
Post marked as unsolved with 0 replies, 535 views
When my app receives a voip push, I play an audio file using AudioServices using:
AudioServicesPlayAlertSoundWithCompletion
If the app is in background, the volume is fine (Using ringer volume).
But if i long press the notification, the background audio file playing suddenly jumps to max volume.
I looked at console logs and here is what I found:
default 09:04:06.892055-0800 mediaserverd -CMVAEndptMgr- vaemSetDeviceVolume: Setting cmsvolume = 0.465 for device UID: VirtualAudioDevice_Default with ID: 163 and port=0 and timerCreated = NO
When I long press, the volume jumps to max for no reason.
default 09:04:27.253755-0800 mediaserverd -CMVAEndptMgr- vaemSetDeviceVolume: Setting cmsvolume = 1.000 for device UID: VirtualAudioDevice_Default with ID: 163 and port=0 and timerCreated = NO