-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Clear and encrypted periods working shaka 3.x and not 4.x #4512
Comments
I did read few other issues such as #2566
I have used chrome://media-internals/ to capture the log for both shaka 4.2.1 and 3.3.10 media-internals-failed-4.2.1.txt I tried 4.0.0 and it didnt work either. I guess something period-related must have changed in between 3.3.10 and 4.2.1. But when checking changelog of 4.0.0 I didnt find any multiperiod related note |
I managed to identify the commit that broke the playback (by checking individual commits in between 3 and 4 and building the player). Commit 7155ec7 from Feb 4th works Unfortunately, I am not really familiar with JS to do more thorough checks of the code to identify which block of new code is responsible. Any help highly appreciated please! |
It should be related to when In 3.x.x, In media-internals log, Chrome said: {
"time": 28.13099992275238,
"key": "info",
"value": "Failed to initialize DecryptingVideoDecoder"
},
{
"time": 34.519999980926514,
"key": "kIsVideoDecryptingDemuxerStream",
"value": false
}, @avelad @joeyparrish , is this a Chrome bug? or is it good idea to revert I was able to workaround by adding var video = document.getElementById('video');
+window.shakaMediaKeysPolyfill = true;
var player = new shaka.Player(video); |
Hello yes, I can confirm that with |
I created a PR #4606 |
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
4.2.1 and 3.3.10
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?
Our license server is too complicated to be used withing the demo app
What browser and OS are you using?
Mac 12.4
What did you do?
Below is the source code for demo app. It has 2 JS included, one commented out. This sample works for both 4.x and 3.x in FF. In chrome it works only with 3.x version.
The sample includes content as well as widevine URL.
What did you expect to happen?
For the playback to work with shaka 4.x in chrome.
What actually happened?
It does not play in Chrome with 4.x version. The error I see in JS console is
with no further information. I think it might be something related to encryption. If I package the same content without encryption, just clear content, it plays in Chrome too.
Can you please try it out and tell us what might be wrong with he MPD? Or is it content OK and the issue is in shaka 4.x?
Thanks a lot
The text was updated successfully, but these errors were encountered: