-
Notifications
You must be signed in to change notification settings - Fork 245
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
[widevine] Reintroduce CDM aarch64 support #1379
Conversation
i ping here @tmm1 @Nachtzuster from issue #1128 |
9bada9c
to
ab273a0
Compare
Testing on RPi4 running LibreELEC master fails to load the cdm
|
looks like that despite i tried reproduce the old code dont works |
Just compiled/tested with actual libreelec-nightly and it looks like it searches the inputstream.adaptive-folder at the wrong place: error : AddOnLog: inputstream.adaptive: The parameter "full" is no longer supported. For problems with live streaming contents please open an Issue to the GitHub repository. On Libreelec /storage/.kodi/... is the correct location |
|
@DDuck007 have you double checked that libcdm_aarch64_loader.so its in appropriate folder? |
ok, sorry ... |
LE build only needs a very small change (include libcdm_aarch64_loader.so on aarch64). Here's the file I've been using for testing:
|
@HiassofT |
New test with the RTLD_NOLOAD commit: now the loader lib fails to load:
Full log is here: http://ix.io/4GUO As a comparison here's the full log with the previous version (before the NOLOAD commit): http://ix.io/4GUM |
adding changing to first step would be to confirm the built |
the fix was simple: e23cdd0 |
removed |
2279b19
to
cc6c9fb
Compare
thanks guys for the help, i applied the changes to PR @DDuck007 Can you try to see if removing RTLC_NOW still works (and play video)? |
Compiled it without Playing a widevine video also works fine - see log:
|
cc6c9fb
to
74d6f7d
Compare
74d6f7d
to
e23edb6
Compare
e23edb6
to
d958558
Compare
d958558
to
597ff9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Description
Reintroduce support to load Widevine CDM on linux aarch64 platorms
that has been removed after decrypters refactor
This is WIP since needs someone that is able to test it on a aarch64 deviceTODO: on the "cdm loader" i add a class CCdmAarch64Loaderto wrap the methods required to load wv, but maybe its possible remove the class and declare static methods?
class removed
How has this been tested?
i have no way to test by myselftested by users see discussion
Screenshots (if appropriate):
Types of change
Checklist: