-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Video playback dont works on Windows, MacOS, Android limited to SD #1627
Comments
EDIT: updated first post |
For HBO, wv server returns error if send license data including default kid from the higher quality l1 only streams. I have to proxy and remove the l1 kids and then send the request just with the lower quality kids. Not sure if that's the case here. |
here license request is full customized, the challenge should be attached in the manifest request data, since the manifest can return directly also the license data to avoid a separate license request even if license request is made separately, same thing there is no kid specified |
Just to add to the observations. I was until now using the Netflix Basic plan (720p) on my Chromecast with Google TV and the add-on worked perfectly. Just a couple of days back, I upgraded to the Standard (1080p) plan and started encountering the aforementioned issues. On the 1080p plan, I am able to watch at 576p resolution. Seems in addition to the resolution associated with the account, the plan itself also has an impact on the playback issue. |
The readme states that playback, when it works, is limited to SD quality and only on some andoid/linux devices. Interestingly, this is not the case on my Raspberry Pi 4 running LibreELEC 11. I can still watch Full HD without any problems. |
Hi,Sorry to bother you. I was just really curious the Netflix add on is working perfectly for me on Cody 19.5 but anything higher either fresh freezes up or will not load. Do I need to add something to the other ones?Thank you in advance for all your hard work!KrisSent from my iPhoneOn Jul 30, 2024, at 14:57, d1g33k ***@***.***> wrote:
Just to add to the observations. I was until now using the Netflix Basic plan (720p) on my Chromecast with Google TV and the add-on worked perfectly. Just a couple of days back, I upgraded to the Standard (1080p) plan and started encountering the aforementioned issues. On the 1080p plan, I am able to watch at 576p resolution.
Seems in addition to the resolution associated with the account, the plan itself also has an impact on the playback issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
First test made today (Kodi 21.1 + InputStream 21.5.2): After that, I have played a Netflix video, getting just .init & .challenge files at cdm folder (C:\Users\MyUser\AppData\Roaming\Kodi\cdm) Funny part is those files are created BEFORE selecting video quality (I have the option "Override stream selection type -> Ask video quality"). If I play Disney+ video and check the same folder I get .init, .challenge & .response, so the video plays correctly, but the big difference is those files are created AFTER selecting ratio (I cannot activate quality selector as it is only for Slyguy supporters, but I can imagine is the same behaviour as ratio). *Disney+ repo (for inspiration): https://github.com/matthuisman/slyguy.addons/tree/master/slyguy.disney.plus Second test made today: Regarding .response files, they are not created for Netflix in any case. |
Last week I tried if anything has changed and then I was able to watch multiple streams of "Rick & Morty Season 7". It hasn't stopped after 2 minutes. Today I tried it again and it didn't worked anymore. The 2 minutes issues was there again... Saddly I don't have any logs from last time
|
Since I subscribe to Netflix through my operator, I downgraded to the 720p Basic plan from the 1080p Standard one and the plugin works perfectly again. It doesn't stop after 2 minutes, I can resume playback from any location and use video speed plugin with Kodi 21. So, for me at least, the solution is to use the Basic plan. |
I have spend some hours today investigating the challenge generation. This part of the cadmium.js seems to generate an array called data:
And data is later turned into challengeBase64 here:
Current addon challengeBase64 length (including xid): 2317 So, I think the key is to understand how y is generated. I have also observe a difference on drmVersion parameter:
|
[ INFO THREAD ]
PLEASE KEEP THE THREAD CLEAN, COMMENT ONLY TO PROVIDE HELP FOR A POSSIBLE SOLUTION TO THE PROBLEM
IF YOU WANT TO DISCUSS OPENLY USE THIS THREAD: #1678
THANK YOU
From some month this add-on is not able to play videos on Windows and MacOS systems and Android.
This problem causes only the first 2 minutes of the video to be playable,
on Android its possible mitigate the problem by playing SD resolutions (~540p) only.
this is due to website changes that seem to have introduced some custom Widevine DRM implementation or maybe a new VMP protection, i dont know exactly.
Some details in to the investigations done can be read from this comment link
#1585 (comment)
and following the discussion on subsequent comments.
In short the problem is about the Widevine DRM license request and at moment from my part i have no idea how find a solution,
that is the reason why the videos can be played only for the first 2 minutes, because without license you cannot decrypt videos,
only unencrypted videos like trailers can be played.
One workaround that could be done in future, but only for Windows systems, is to use PlayReady DRM instead of Widevine DRM. But this require to be first implemented in to InputStreamAdaptive add-on, then in future try to implement this support to this add-on. It is not an easy thing and also will take a long time (more months not days).
If anything changes on the website in the meantime, the addon still allows you to try test to play the videos also if dont works.
UPDATE 16/04/2024:
According to the old discussion reachable from the comment 1585 above linked
i leave here my last vague remarks from my latest attempts to debug the website
in the hope that in the future someone will be able to help me or propose a complete solution
because with my knowledge alone i will never be able to deal with this problem
As said above the problem is in the license request
DRM license can be obtained in two ways:
both drmSessionId/challengeBase64 are obtained by DRM session initialization done by InputStream Adaptive,
now in the website seem happens more or less in the same way of the addon
but on the website when the drmSessionId/challengeBase64 are provided by DRM somewhat happens like a middle step between the browser DRM and the website where the DRM challenge data seem to be wrapped or modified by using some kind of "certificate"!? at least seem to contains some parts of this data
this "certificate" can be found in the cadmium-playcore.js of website, at today is this:
but i have no idea on how the DRM challenge and data above are "combined"
and this in my opinion is what is missing to solve all the playback problems in the various systems (probably also android)
The text was updated successfully, but these errors were encountered: