Video playback dont works on Windows, MacOS, Android limited to SD #1627
Labels
Help needed
We need the help of other volunteer developers
Triage: Confirmed
Issue has been reproduced by the add-on maintainers
[ 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: