-
Notifications
You must be signed in to change notification settings - Fork 33
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
Crash when playing another media on tvOS 15.2 #114
Comments
The issue arises because of internal changes made by Apple to When playing another media, our current Before tvOS 15 this was not an issue. But since tvOS 15 switching the We can fix the crash by avoiding unnecessary player changes at
This issue will be reported to Apple, though in the future we might switch to Fix proposal available for review on |
Merged into |
I opened a dedicated radar. When testing my sample code I also discovered that the player associated with |
As described on Letterbox issue tracker, changing the media currently being played crashes on tvOS 15.2 due to an internal implementation change made by Apple.
Issue type
Crash
Description of the problem
Stack trace:
Environment information
Reproducibility
Always reproducible
Code sample
Add to
MediasViewController~tvos.m
:and call right after
SRGMediaPlayerViewController
presentation:This periodically updates the media being played, which should usually be properly implemented with a custom
AVPlayerViewController
overlay. The above is sufficient to reproduce the issue, though.Steps to reproduce
The text was updated successfully, but these errors were encountered: