Closed defagos closed 2 years ago
I thought that setting canStartPictureInPictureAutomaticallyFromInline
to NO
would solve the issue, but this is not the case.
The fix requires an addition to SRG Media Player to enable PiP depending on whether the controller instance is registered with the service or not.
Fixed in 6.1.5.
Picture in picture should only be available for controllers registered with the service, provided the app has been properly configured (background capabilities, audio session).
It might be a change introduced with iOS 14 and the iPhone PiP support, but we can now enable PiP for standalone controllers, probably because they have an underlying
AVPictureInPictureController
always available.This should be fixed. Being able to test on iPadOS 14 and older iOS / iPadOS versions could also be helpful to know if this issue is a regression related to a major iOS release, or simply a bug we introduced. The problem probably also requires a fix to be implemented in SRG Media Player.
Issue type
Incorrect behavior
Environment information
Reproducibility
Always reproducible
Steps to reproduce