Feedback a bug that crashes when using picture-in-picture on iOS16

here is my code: https://github.com/wqhiOS/PictureInPicture-iOS16-BUG; and A video is included to demonstrate how to reproduce the issue

when I use PicutureInPicture to support live. I have a crash on iOS 16!only iOS 16.

I found that when the player uses live streaming and supports picture-in-picture. The main thread deadlock problem occurs.But using a non-live stream is no problem. Im sure this is a system bug on iOS 16.

The approximate reproduction steps are: when the player enters the background during playback, the picture-in-picture will appear normally, and then enter the app through the picture-in-picture. There is no problem at this time, push to another ViewController, and then back to player. At this time the thread will be stuck.

Please file a report using the feedback assistant and paste the feedback ID here.

We are facing the exact same issue on a client app on ios16. Tested on multiple ios15 devices and simulators and they are working fine without any issues.

It looks like the bug has been fixed in the newest iOS 16.1. :)

Feedback a bug that crashes when using picture-in-picture on iOS16
 
 
Q