[iPadOS < 17] Can't find variable: ManagedMediaSource #7666
Labels
platform: iOS
Issues affecting iOS
priority: P1
Big impact or workaround impractical; resolve before feature release
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
Yes
If the problem is related to FairPlay, have you read the tutorial?
What version of Shaka Player are you using?
Issue was introduced in 4.12.0
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
main
?Yes
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
What configuration are you using? What is the output of
player.getNonDefaultConfiguration()
?Default
What did you do?
On iPad with OS 16 or older:
What did you expect to happen?
I expect the hls video to play
What actually happened?
Load fails with following error:
Unhandled Promise Rejection: ReferenceError: Can't find variable: ManagedMediaSource
This is because iPads with iPadOS 16 or older don't have ManagedMediaSource which is referenced here:
shaka-player/lib/media/media_source_engine.js
Line 274 in 79b1536
This bug was introduced in a6cf9cb so versions before 4.12.0 are working. Workaround is to use older version like 4.11.4 or to use native hls.
Are you planning send a PR to fix it?
No
The text was updated successfully, but these errors were encountered: