shaka-player: FairPlay playback broken in 3.2
Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? 3.2
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from master? Yes
Are you using the demo app or your own custom app? Both
If custom app, can you reproduce the issue using our demo app? Yes
What browser and OS are you using? Safari 14.1.1 macOS 11.4
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
U’ll send by email
What configuration are you using? What is the output of player.getConfiguration()?
What did you do?
Load a FairPlay stream
What did you expect to happen? The stream load without problem
What actually happened?
Error 6010 is always thrown
I see some problems:
- https://github.com/google/shaka-player/blob/master/lib/player.js#L2006 should wants instead of has (I’ll a send a PR for it)
- Now due to the use of mediacapabilities, the information is always consulted through mediacapabilties, but this is thinking for MSE, not for SRC =. So here (https://github.com/google/shaka-player/blob/291c93e5fd8a08f69294e533392fa86da249ff5f/lib/media/drm_engine.js#L353) when consulting the FairPlay information it always returns an error.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 7
- Comments: 15 (3 by maintainers)
Commits related to this issue
- fix: Add support to file type in MediaCapabilities polyfill (#3569) Issue: #3530 — committed to shaka-project/shaka-player by deleted user 3 years ago
- Fix: Add support to file type in mediaCapabilities implementation (#3570) If it's srcEquals, the 'type' element of the input object when querying mediaCapabilities should be 'file'. Otherwise it shou... — committed to shaka-project/shaka-player by deleted user 3 years ago
- Fix: Add Support to iOS 12 in MediaCapabilities polyfill (#3573) In iOS, there is no support for MediaSource, and we should have 'file' as the type of the MediaiDecodingConfig, to check whether the ... — committed to shaka-project/shaka-player by deleted user 3 years ago
- fix: Work around override of MediaCapabilities polyfill in Apple browsers (#3668) See also #3696 Closes #3530 — committed to shaka-project/shaka-player by deleted user 3 years ago
- fix: Add support to file type in MediaCapabilities polyfill (#3569) Issue: #3530 — committed to shaka-project/shaka-player by deleted user 3 years ago
- Fix: Add support to file type in mediaCapabilities implementation (#3570) If it's srcEquals, the 'type' element of the input object when querying mediaCapabilities should be 'file'. Otherwise it shou... — committed to shaka-project/shaka-player by deleted user 3 years ago
- Fix: Add Support to iOS 12 in MediaCapabilities polyfill (#3573) In iOS, there is no support for MediaSource, and we should have 'file' as the type of the MediaiDecodingConfig, to check whether the ... — committed to shaka-project/shaka-player by deleted user 3 years ago
- fix: Work around override of MediaCapabilities polyfill in Apple browsers (#3668) See also #3696 Closes #3530 — committed to shaka-project/shaka-player by deleted user 3 years ago
- fix: Add support to file type in MediaCapabilities polyfill (#3569) Issue: #3530 — committed to shaka-project/shaka-player by deleted user 3 years ago
- Fix: Add Support to iOS 12 in MediaCapabilities polyfill (#3573) In iOS, there is no support for MediaSource, and we should have 'file' as the type of the MediaiDecodingConfig, to check whether the ... — committed to shaka-project/shaka-player by deleted user 3 years ago
- Fix: Add support to file type in mediaCapabilities implementation (#3570) If it's srcEquals, the 'type' element of the input object when querying mediaCapabilities should be 'file'. Otherwise it shou... — committed to shaka-project/shaka-player by deleted user 3 years ago
- fix: Work around override of MediaCapabilities polyfill in Apple browsers (#3668) See also #3696 Closes #3530 Change-Id: Ied2e644f8a5d170ef70386dc2a39b51fc95a691f — committed to shaka-project/shaka-player by deleted user 3 years ago
- fix: Fix MediaCapabilities polyfill on Safari Fixes #3696 Fixes #3530 Change-Id: I2f2e248c9001e10013eb4b03af6b9ef49f28dc6c — committed to shaka-project/shaka-player by joeyparrish 2 years ago
- fix: Fix MediaCapabilities polyfill on Safari Fixes #3696 Fixes #3530 Change-Id: I2f2e248c9001e10013eb4b03af6b9ef49f28dc6c — committed to shaka-project/shaka-player by joeyparrish 2 years ago
- fix: Fix MediaCapabilities polyfill on Safari Fixes #3696 Fixes #3530 Change-Id: I2f2e248c9001e10013eb4b03af6b9ef49f28dc6c — committed to shaka-project/shaka-player by joeyparrish 2 years ago
- fix: Fix MediaCapabilities polyfill on Safari Fixes #3696 Fixes #3530 Change-Id: I2f2e248c9001e10013eb4b03af6b9ef49f28dc6c — committed to shaka-project/shaka-player by joeyparrish 2 years ago
- fix: Work around override of MediaCapabilities polyfill in Apple browsers (#3668) See also #3696 Closes #3530 Change-Id: Ied2e644f8a5d170ef70386dc2a39b51fc95a691f — committed to tecteun/shaka-player by deleted user 2 years ago
- fix: Work around override of MediaCapabilities polyfill in Apple browsers (#3668) See also #3696 Closes #3530 Change-Id: Ied2e644f8a5d170ef70386dc2a39b51fc95a691f — committed to tecteun/shaka-player by deleted user 2 years ago
I’m facing the same error, I made 2 codepens: Working with 3.1.2: https://codepen.io/benny739/pen/rNmRqLK
Broken with 3.2.0: https://codepen.io/benny739/pen/XWRGxzy Error Code: 6010
Also in safari 15 technology preview neither 3.1.2 nor 3.2.0 are working with Fairplay. I’m not sure if fairplay is simply not supported in the tp, as it is in the iOS simulator or if there is a problem with Safari 15.