-
Notifications
You must be signed in to change notification settings - Fork 242
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
[Bug] ISA fails to play content with Widevine DRM #1657
Comments
this is known, i can take a look if its possible do something, if not require too much changes |
So it will take some time then. |
yes this test build should works in theory: |
So if I compile from the Piers branch, then it should work? |
no, or you use test builds or you have to get it from the relative branch on my personal repository, see PR |
I can't use test builds since I mostly test on Linux. In the meantime can you provide me an example to also test it on Shaka Demo if possible? |
i dont have any sample stream as your example attached above you asked for this support, and you cannot to test it? if i have to test it by myself, i need to construct a custom way with a local server, then anyway i cant share it |
I can test it on other Android players and they play it correctly but those players don't always follow the standards. |
you have just to read DASH specification docs... no need to test tons of players where each one can have different implementations or also partials if default_kid value on ContentProtection tag is missing need to be extracted from mp4 boxes |
Still fails to play. Here are the logs:
|
debug infos are needed |
For a specific component or Kodi as a whole? |
stadard kodi debug, no specific component |
I will need to filter the Kodi log as it has some sensitive info. ISA is getting the KID from somewhere.
|
Here is the full log: |
i rougly tested my PR by forcing ISA parser to ignore KID from manifest assuming you have not by mistake builded wrong repo/branch version or installed a wrong version i cant see the relative MPD played so explanations could be:
for point 1 the MPD is same of attached above? |
I build from your repo's
It is a different channel but the MPD should be very similar/ same.
I can email it to you. What's your email? |
it written here: http://beacons.ai/castagnait
a little change can change code behaviour, attach the new MPD |
I have sent you the manifest and the initialisation files via email. |
Can you confirm you have received it? |
yes i tested locally, from my test with same situation:
init file is downloaded and KID parsed from mp4box anyway doesnt matter so much, i decoded the init pssh of MPD and have a KID of: 2cd67dd74e6659c0aa7fac52ac16a23d are differents, where should be equal, so it could be the reason why the decryption dont works |
i think i found also a my mistake, i update the PR soon |
my PR/branch updated, let me know |
ok i found also another problem, i need to investigate better |
updated again my PR/branch |
I am running the correct version I am sure.
The KID changes very often. |
I tried and this time I have modified the version and name of ISA to confirm that I am using the latest one. I can send you the WDV licence request and response if you want. |
if KID is not static and change very often when in playback, it can mean that use key rotation there are no plans to implement key rotation soon, no eta from my part anyway on the new log you have to see more |
I have mailed you the debug log, manifest and the initialisation files. Edit: I can send you the WDV licence response if you need it. |
if there is no "Extracting Data" logs something that im not aware is happening on your device from your new log i have copied manifest and license string to test your video on my computer
so idk what you are doing on your device, but my code changes works here there are 2 test builds for ubuntu x64 notice that these linux builds are double zipped, so you need to extract the zip manually one time, then use kodi menu "install from zip" |
I installed them. Both of them installed correctly. |
now there are "Extracting data..." on logs, so confirm that you are doing something wrong with your self-buildings
yes something dont work with decryption
response fwik is encrypted the only thing i can try to do is try inspecting the init and segment files manually to see if there are drm data changes between init and video segments you can send to me a debug log+mpd+video init file and 2 or 3 of video segment files as shown on log |
I have emailed you everything you need. |
thanks i noticed that the manifest pssh contains a kid that is equal to kid on segments i have add a way to extract the kid from the manifest pssh new test build anyway pssh show a key rotation field value |
It is back to the old behavior now. Tries to download 1-2 stream then fails. Also there is no trace of "Extracting Data" |
its ok expected, because use KID PARSED FROM PSSH strange that it cannot decode since the initial key is equal, |
Sorry I was a bit busy. |
Very strange that popular IPTV apps like OTT Navigator and Tivimate use kodi iptv playlist format still the same playlist works in Tivimate and OTT Navigator even in old versions but kodi always has some issues be it add-on/kodi version/manifest/drm or character limit |
by decoding the manifest pssh with tools is shown in my tests using manifest kid decryption is broken, using kid from segment decryption start but manlformed data, as wrong key used or i don't know...
in a regular stream the KID is always the same, but in this case there its clear that there is something different.
you are talking of totally different things... and not the right place, anyway kodi instead must be cross-platform, to achieve this must access to low level things and custom implementations |
@CastagnaIT I tried some Clearkey DRM streams which don't have a default KID in the dash manifest but have it in the initial segments and all of them works. |
Describe the problem
Hi. I am trying to play Widevine encrypted content.
I am using the default
R{SSM}|R
. But the content fails to play.The playback works fine on other players like OTT Nav and NS Player.
The response is very small in size around 668 bytes.
Possible fix
No response
Steps to reproduce
No response
Debug log
Stream manifest file(s)
Additional info
No response
Operating system(s)
Android, Linux, Windows
Operating system version(s)
Android 14, Arch Linux, Windows 11
InputStream Adaptive version(s)
22.1.2 (Compiled from Piers branch)
Kodi version(s)
22.0-ALPHA1 (21.90.700) Git:20240820-178dc39-dirty (Compiled from Master branch)
The text was updated successfully, but these errors were encountered: