-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[2.8.0] DataView: expected ArrayBuffer, got Uint8Array #2687
Comments
Hi @boris-petrov , I 'd like to help you but I can't reproduce the issue with streams in dash.js reference page. Is it possible that you give us acces to one of your stream? Nico |
@nicosang - thanks for the answer! Can you try with the ones I've attached in this comment in the other thread that I linked please? They are the same as the ones we use (they are autogenerated with ffmpeg for test purposes). |
@boris-petrov , could you, please, also share dash.js log messages? I don't have the same behavior that the one you described... Thanks, |
one more question for you @boris-petrov : do you use the call to setProtectionData function? |
@nicosang - no, we don't use that particular function. We do exactly what I've written in this comment from the other thread. As for the log messages - I'll do that most likely on Monday. Thanks for the support! |
@nicosang - here are the logs:
Actually, now that I see, there is another error before the one I've specified in this issue thread - |
Looks to me like that is caused by the Would be useful if the |
So I am to understand that this indeed is a bug, right? Not some wrongdoing on my side? |
There is indeed a small bug in the logger of KeySystemW3CClearKey. I'm fixing it.... |
@boris-petrov , could you, please, take a look at my PR? Does it fully fix your issue? thanks, |
@nicosang - yes, this branch fixes the issue. |
Please see this example player, I can use laurl for ClearkeyDRM system but kid:key option does not work. I have used a latest and nightly dash.js script. Is this fix still missing from the nightly build? https://m.dtv.fi/dash/index_clearkey2b.html?video=21 mpd=https://m.dtv.fi/dash/dasherh264v2/drm/manifest_clearkey.mpd This one works fine using a ClearkeyDRM laurl option. |
This is a regression from 2.7.0:
I don't have exact lines, I could get them if needed. The error under Firefox is the one in the title, under Chrome is
TypeError: First argument to DataView constructor must be an ArrayBuffer
.In this issue there is more information about our usecase (we use Clearkey encryption e.g.) - it hasn't changed since then.
Please tell me if you need more information.
The text was updated successfully, but these errors were encountered: