-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background video playback is incorrectly paused #198
Comments
This is an SRG Media Player issue. |
The most common cases are fixed with SRGMediaPlayer 6.2.1 release. AirPods issue still persist, but I think, not new #199. |
The issue is still occurs, especially with audio only streams. A restart of the device helped, but it is annoying since it happens multiple time a week. |
Thanks for the feedback and sorry this issue affects you. Background video playback (which this issue is originally about) is a tricky thing, but background audio (which the issue you describe is about) is usually pretty straightforward to implement. I suspect the problem is related to iOS itself since we saw this issue raising recently, even if we didn't change anything to support audio playback in background (it's basically setting a flag to enable it, unlike background video playback which requires a substantial amount of additional work). The fact that a device restart, usually a forced one, fixes the issue, is probably a sign this is (sadly) not related to the app itself. I could never reproduce it myself (maybe there is a reliable way but I could never identify one) so I never got the chance to debug what is happening and to report this issue to Apple if I can confirm the problem is on iOS side. Which iOS version and which kind of device are you using, BTW? |
haven't seen the bug much lately, but it still occurs sometimes. I'm using an iPhone 13 with iOS 15.3.1 with SRF Player v3.5.1 (378) |
@ganti Thanks for the update. We'll keep listening to what our users say (through our official support channels or in App Store reviews) to see if the problem becomes more widespread than expected. Usually forced restarts have always been a great help, but until one of our devices is affected (so that we can debug the issue) I sadly have no clue how we could get to the bottom of the story. I hope the situation will improve on your side with further iOS updates. If we happen to be able to debug the issue we'll keep you posted. |
As of version 3.4.0 background video playback does not work correctly anymore. This is not related to the iOS version, as I first incorrectly assumed. This regression is likely connected to the fixes made for PiP in 3.4.0.
Issue type
Incorrect behavior
Environment information
Reproducibility
Always reproducible
Steps to reproduce
Note that background playback continues when the device is locked while the video layer is visible.
The text was updated successfully, but these errors were encountered: