mirror of
https://github.com/yattee/yattee.git
synced 2026-10-24 21:52:51 +00:00
On macOS 27 AVKit can ignore a programmatic stopPictureInPicture while PiP is active: no delegate calls, and the PiP window stays on screen after the video is closed. If AVKit hasn't begun stopping 0.5 s after the request, release the controller (which closes the window), run the didStop cleanup and create a fresh controller.