Skip to content
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

VERY STRANGE PROBLEM: Drm Widevine not work in Electron App, but it work in Chrome Browser #163

Open
vanminhquangtri opened this issue Jul 3, 2023 · 1 comment

Comments

@vanminhquangtri
Copy link

I got a very very strang problem, that I think it's may be from electron.
I use Widevide DRM to play my protect video on project Vue + Electron.
I run electron:serve sucess at: http://localhost:80
On Electron APP: when call api DRM widevine to get key: it throw error: HTTP Status 400 – Bad Request

BUT, if I run http://localhost:80 on Chrome, it has no problem. So I would like if anyone can give me advice how to solve this, thank you.
My app version:
"electron": "github:castlabs/electron-releases#v25.2.0+wvcus",
"electron-builder": "^23.2.0",
"vue": "^3.2.13",

player: dashjs 4.7.1

@khwaaj
Copy link
Collaborator

khwaaj commented Jul 14, 2023

Did you sign your build with EVS? If not, then that is likely what is lacking. Most production streaming services will not allow DRM requests where this signature is not valid (or only for development, as is the case with the default signature on ECS builds).

Also, there are some issues around the VUE build tools being discussed in various threads here. I don't personally have any experience with VUE, but it seems there are people that have managed to get this to work, so you can probably find some hints in these threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants