Play audio from video in background in iOS
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Describe the issue We have been trying to play audio in background but nothing seems to work, we have the background modes setup and UnityAppController.mm modified
Your Setup (please complete the following information):
- Unity version: 2021.3.12f1
- AVPro Video version (number and edition (trial/core/ultra/enterprise)): ultra
- Operating system version: iOS/MacOS
- Device model: iPhone
- Video specs (resolution, frame-rate, codec, file size): 1080p
Videos https://livepeercdn.studio/hls/85c28sa2o8wppm58/index.m3u8
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us [email protected]
The default player behaviour on iOS is to suspend video playback when the app is put into the background (that's the system, not us imposing this). I am assuming that this is video playback and not just an audio file? Audio only files should respect the background modes.
The default player behaviour on iOS is to suspend video playback when the app is put into the background (that's the system, not us imposing this). I am assuming that this is video playback and not just an audio file? Audio only files should respect the background modes.
Yes video playback, is there any workaround for this?
We don't have a work around I'm afraid. It might be possible for us to add support for at some point. However we are a very small team and have other things that are much higher priority.