-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
FairPlay playback broken in 3.2 #3530
Comments
@joeyparrish @michellezhuogg @theodab |
I have been doing multiple tests and the problem I see is that HLS is theoretically supported in mediacapabilities with file type, but doing multiple tests I have not gotten it to work :( |
I'm facing the same error, I made 2 codepens: Broken with 3.2.0: 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. |
) If it's srcEquals, the 'type' element of the input object when querying mediaCapabilities should be 'file'. Otherwise it should be 'media-source' . Issue: #3530
In iOS, there is no support for MediaSource, and we should have 'file' as the type of the MediaiDecodingConfig, to check whether the content is supported or not. We should only require MediaSource support in the polyfill when the type of MediaiDecodingConfig is 'media-source'. Issue: #3530 .
After doing tests to solve this, it would be best to apply the mediaCapabilities polyfill in Safari (isApple), but if I try to apply it, the following change does not apply:
@joeyparrish you are more expert in polyfills, can the browser refuse to overwrite a native function? |
I tried getting the polyfill to work on Safari, and oddly I found that if you call |
Some properties can't be overwritten. I can't do anything to investigate until Monday, but you can try some of the following:
In my experience, you sometimes just have to try these things and see what the browser lets you get away with. |
|
I have not found a solution to this. @joeyparrish , can you see if you find it? |
@joeyparrish Have you been able to find a solution for this? |
Sorry, we do not have a solution for this. |
And what is the best solution then? Revert the MediaCapabilities change in 3.2? |
With the content you sent us via email, I am currently unable to reproduce the issue. (Safari 14.1.1) I see MediaCapabilities negotiating successfully and instantiating a FairPlay CDM. (The license request fails with an HTTP 500 error, but at least MCap is successful.) Neither Is the license request failure I see somehow avoiding the hidden trigger for this issue? Or has it been fixed by Apple since? I have Safari 14.1.1 (16611.2.7.1.4) on macOS 11.4. |
I can reproduce the issue on Safari 14.1.2 and macOS 11.5. After downgrading to shaka-player 3.1.x works fine. I will email you testing materials. |
) If it's srcEquals, the 'type' element of the input object when querying mediaCapabilities should be 'file'. Otherwise it should be 'media-source' . Issue: #3530
In iOS, there is no support for MediaSource, and we should have 'file' as the type of the MediaiDecodingConfig, to check whether the content is supported or not. We should only require MediaSource support in the polyfill when the type of MediaiDecodingConfig is 'media-source'. Issue: #3530 .
In iOS, there is no support for MediaSource, and we should have 'file' as the type of the MediaiDecodingConfig, to check whether the content is supported or not. We should only require MediaSource support in the polyfill when the type of MediaiDecodingConfig is 'media-source'. Issue: #3530 .
) If it's srcEquals, the 'type' element of the input object when querying mediaCapabilities should be 'file'. Otherwise it should be 'media-source' . Issue: #3530 Change-Id: I8d54f5215f27c663ffdcfef0ec41182139d7f5d7
…sers (shaka-project#3668) See also shaka-project#3696 Closes shaka-project#3530 Change-Id: Ied2e644f8a5d170ef70386dc2a39b51fc95a691f
…sers (shaka-project#3668) See also shaka-project#3696 Closes shaka-project#3530 Change-Id: Ied2e644f8a5d170ef70386dc2a39b51fc95a691f
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
? YesAre 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:
The text was updated successfully, but these errors were encountered: