-
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] ORF ON DRM Streams not working on Android Devices #1585
Comments
in the manifest url you must set the user agent with the appropriate ISA properties after this
seem the server dont provide the key, |
thanks for the quick reply. i tried it with the headers in place but still the same result on android. with chrome widevine (win/linux) it works either way
the offical android app for ORF ON uses the same license server and manifest. i decompiled the apk and as far as i can tell the parameters are the same. the app uses exoplayer2, could there be a difference how exoplayer handles the drm stuff? afaik the hardware decoder handles the drm decoding on android, so there shouldn't be a difference, right? |
the user agent use mozilla on android? usually on android there is a android device user agent i think should better if you use a web proxy to debug the network while using the official app
exoplayer is much more complex and advanced than ISAdaptive and supports many things not supported here, its not so comparable from my pov if there is no license key there is something wrong in how you configure the license request |
i tried that and appended the correct UA the official app is using but without any luck.
the app requests for license key are exactly the same except for the UA |
I noticed that there are different KIDs for adaptation sets/content types. In Windows ISA gets license for each one, but in Android only for first (in that case - for audio segments). Is this correct behavior? |
When i change the inputstream.adaptive config to audio only the audio plays fine. Could the different KIDs be the problem as @mtr81 pointed out? Here's a logfile when the audio plays |
i've tried to save a local copy of the manifest and modified it a bit. I've removed the first two adaptionsets (audio tracks) and tried to play it and the video plays fine (without audio of course). it also works vice versa, so when i only keep the first two adaption sets (audio tracks) the audio plays fine. |
try to see if this test build works: |
First of all ver. 21.4.10 should be fixed because it crashes Kodi. |
mille grazie @CastagnaIT :) it works with this version. only tested the android build (on my nvidia shield) though so i can't verify the crash @mtr81 has reported right now. here's the log |
good! this confirm what i found i found that one player do what explained above: explanations on how widevine works are quite fragmentary on the web and i know very little about it too no idea about crashes i tested over windows/android with no problems, but there are too many use cases to test so idk atm |
I think we've flipped between single/multi a few times now. @matthuisman also knows about this. Maybe it could be an advanced setting plus Kodi prop for overriding? |
what the reason behind to have reverted to one session? EDIT: ok i found the PR #1165 |
Is the fix to remember which keys have session.
Return false the first time a key is requested, and then return true next
time called for that key?
Multiple sessions but only single session per key?
…On Wed, 26 Jun 2024, 23:20 Stefano Gottardo, ***@***.***> wrote:
what the reason behind to have reverted to one session?
—
Reply to this email directly, view it on GitHub
<#1585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPQAKPML3HYBZKGUCINWS3ZJKPXXAVCNFSM6AAAAABJSLV5FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGQ2DOOBTGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
(or that logic the other way around , but you get the point) |
Id be keen to try multiple sessions again either way. Pretty sure it fixes some audio issues as well (maybe that guys Disney+ 5.1 audio issues) If it could be disabled for a Kodi property (or enabled) that would be handy for any add-ons that don't like it |
Ideally getting just separate audio/video sessions will be enough, and this loop ensures that we don't keep going back for keys that we already have (often license requests will return multiple keys): inputstream.adaptive/src/Session.cpp Lines 485 to 500 in d7159ec
|
yes but HasLicenseKey method on android return fake value i agree a kodi property its needed for sure |
any progress on this issue? |
its required some changes on decrypters and im already working to rework part of decrypters session code, that can solve also this problem, but its a big task that will require not weeks but months, depends how much will be delayed my works it could be possible add a kind of workaround with a specific property so from my part i will not work on this until the code rework |
Describe the problem
The livestreams for the ORF On Addon cannot be played on Android devices (Tested on Nvidia Shield and Pixel 8 with GrapheneOS). The stream works flawless on Linux/Win
Possible fix
No response
Steps to reproduce
Alternatively use this in a strm file
Debug log
drm_kodi.log
Stream manifest file(s)
manifest.txt
Additional info
The stream has a geolock so it might be hard to debug without an austrian ip. Let me know if I can help with any other logs/files/etc
Operating system(s)
Android
Operating system version(s)
Android 11|Android 14
InputStream Adaptive version(s)
21.4.9
Kodi version(s)
21.0.1
The text was updated successfully, but these errors were encountered: