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
[DRM] License-server key-request fails #713
Comments
Is there a way to get the response content from the license-server request? ( It would probably help to debug this issue. |
if the server is returning 400 it means your not providing enough or the correct data. |
It's possibly a VMP issue. Try it on an Android device if you have access to one. If it works then VMP is to blame unfortunately. |
Yes, you could try running it through something like |
@matthuisman @glennguy Thanks for the tips! I think VMP is not the issue, since the stream doesn't work on my (rooted) Android phone. I used mitmproxy and devtools in order to inspect the requests. The DASH reference player sends some binary blob to the license server, while Kodi sends some Is there any way to change the payload-type? (I read https://developers.google.com/web/fundamentals/media/eme, but it didn't really help me to understand if there are different payload-types...) |
Ummm. That json data is the response from their server... Not the request payload |
@matthuisman Have a look at the picture in the middle. It shows the request-payload. Edit: the request-payload is not json... I see that now. But it is still not the same payload-format as the DASH player is sending. |
https://github.com/xbmc/inputstream.adaptive/wiki/Integration#inputstreamadaptivelicense_key So try add ||R{SSM} to the license url. this isn't an issue in IA. General help like this should be done in the Kodi forum. And these issues kept for actual bugs |
Thanks for your help! I totally missed the info in the wiki 🙈. I think I'll get it to work with this info! Thanks for your quick replies and for your work on this addon! Greatly appreciated! |
It works now. If anyone else has the same issue, this is the config which works for me:
|
I'll look into making R{SSM} the default payload type if none provided PR done: #716 |
Description of the issue
When I'm trying to play a DRM protected video via
inputstream.adaptive
, the request to the license-server fails.I'm experiencing this issue with the following stream:
Important: The license-server URL requires a fresh token for the
userToken
-param which can be requested by calling https://api-stage-tvthek.orf.at/livestream/_token and copying thebase64
-value.Expected behaviour
Kodi (inputstream.adaptive) plays the stream.
Actual behaviour
Kodi doesn't play the stream and shows an error. (See
License server returned failure
error in logs below)Additional info
The DASH reference player (https://reference.dashif.org/dash.js/latest/samples/dash-if-reference-player/) can play the stream without issues.
The text was updated successfully, but these errors were encountered: