-
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
Improve error 6001 or add a new error for missing EME support #4495
Comments
I don't know of any way to differentiate between the cases mentioned in the error code docs. They all result in a Promise rejection. If you know of a way to get more information and differentiate between those cases, please let us know! I would be happy to split that code if there was a way to do it. To get more details on this particular platform (Chrome + Android + incognito), please visit this page and copy-paste the output here: https://shaka-player-demo.appspot.com/support.html That will help us see what the browser reports support for. Thanks! |
Thank you for your reply! Support page is really interesting. I will be able to dig down further on the next week. In the meanwhile I performed an analysis, which I hope will be interesting for the future. I saw from MDN that The only thing we might assert, I guess, is that IF About iFrames without
I've tried on Chrome and Firefox. While Chrome seems to honor this, Firefox doesn't (it doesn't support Firefox: Chrome: (I've expanded error because SecurityError has code 18, according to this page) So I think this check might get integrated. What do you think? About unsecure context, standard refers what follows:
Sadly Firefox doesn't honor this too (it is a deprecated behavior) and, if I visit for example http://info.cern.ch/ and try to use in console In Chrome this behavior is honored and it is About persistent license and checking if a keySystem is not supported, I don't have any idea. Might it be worth to separate checks on these points, by browser? |
Hey @joeyparrish, I've been able to perform a test on Android + Chrome + Incognito on the page you linked me. Here below the result. Open detailsMozilla/5.0 (Linux; Android 8.1.0; DUB-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.125 Mobile Safari/537.36 v4.2.1 |
@alexandercerutti are you interested on send a PR to improve it? Thanks! |
Hi @avelad, when I opened this task I attempted to look for ways to get more details but I failed and then things lost priority. I'd like to, but I don't think I have enough time to put into this, also because we have the upgrade from Shaka v3 to Shaka v4 almost ready, but it is still halted there, waiting for it to ship in production. :/ |
@alexandercerutti do you have any new? Thanks! |
Sorry, I don't. We didn't have time to investigate. We barely been able to upgrade v3 to v4 on one of two players I'm following. |
Have you read the FAQ and checked for duplicate open issues?
Yes
Is your feature request related to a problem? Please describe.
Please note we are still using Shaka 3.x and for several reasons we cannot upgrade (yet) to v4.
We encountered an apparently unknown issue with DRMed Live streams. On our QA systems, we checked for and saw a lot of 6001 errors coming from different platforms (and different reasons, I guess).
We started focusing on Android 11 Chrome on Moto E20 and we found out that most of the issues on that device with Error 6001, were belonging to "anonymous users" (not logged users).
So, by making a few attempts, we find out this thread in Shaka issues: #1928, which reports that EME are not available in Chrome Incognito, which might fit for the reason most of the issues belong to anonymous users.
This was quite challenging to understand because we had to check for patterns among the QA reports.
And this does not ends here, because we'll have to investigate further for 6001 on other different devices.
Current documentation says:
But this is not very helpful. I mean, missing EME support is not in these cases. It also seems that patching failed.
Describe the solution you'd like
I'd like to have more details on what explicitly caused the error in the 6001 error itself or, instead, having different errors for the matters above (or at least a different error code for missing EME).
Describe alternatives you've considered
None
Additional context
I'd like to attach you a screenshot that has been snapped while checking the issue on Samsung with Android 12 and latest Chrome.
Thank you very much!
The text was updated successfully, but these errors were encountered: