feature request: playing encrypted channels
-playing encrypted channels, m3u looks like this, single key:
#EXTINF:-1 tvg-logo="", name1
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=dash
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key=a18b6aa739be4c0b114605fcfb5d6b68:b41c3a6f7511b2e3a828d9580124c89d
https://.../index.mpd
or with multple keys, 3 or 5 keys
#EXTINF:-1 tvg-logo="", name2
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=dash
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key={15965a6dbafd12c4af6aca127b271d5b:23dd40b93306de23ec667fb17a61f322,3decf356cc9351019fb1b627b089446d:4f7e516d3253d964e55b5c36f7f65d4a,511e929c12e0596bab59b11452de49a8:6f17d11eb6e069f4165bf48b425f9ea3}
https://.../index.mpd
there is also this, but not widespread, so it is lower priority, I guess
#EXTINF:-1 ,name3
#EXTVLCOPT:http-user-agent=Android
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://....?drm-type=widevine
https://something....
I believe shaka player (open source) can play these
Numbers are changed obviously
Thanks
This is a good idea. I'll work on it.
I'm willing to implement the kodi format, but I'm curious if there are any other format that should be supported? Please contribute info in this issue if anyone knows anything about DRM/WideVine in M3U.
So far my research as led me to find that MPV does support DRM through
--stream-lavf-o=cenc_decryption_key=<key>
Also if there is DRM in Xtream API too.
I have only been able to use mpv with using second part of the key, and it starts to stutter after a while
key: 111111...:222222....
--stream-lavf-o=cenc_decryption_key=2222