How to stop playback in PiP iOS

Viewed 271

I am building a video player library that supports only a limited number of formats. I expect host app will choose other player for unsupported formats.

My player will have also have Picture-in-Picture support. Scenario is that suppose a video is playing in my player in PiP mode and user clicks on another video that is incompatible with my player. How would my player would know that?

I have tried using Audio Interruption Notification but I guess that doesn't work for interruptions in same app.

0 Answers
Related