Delegate for Android-VideoView

心已入冬 提交于 2020-06-29 04:18:47

问题


I used the VideoView class in Android(Kotlin). Here I tried to find a way to assign a direct decrypt key to the video player. I used AES-128 Encryption. Shif language(AVPlayer) provides a delegate method to an AV player. I tried to same way in android. But doesn't Help. IS there any way to assign encryption keys to VideoView in Android. Thank you.

my m3u8 content

#EXTM3U
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:16
#EXT-X-VERSION:3
#EXT-X-KEY:METHOD=AES-128,URI="123.key"
#EXTINF:8,
Kotlin00000017.ts
#EXTINF:8,
Kotlin00000018.ts
#EXTINF:8,
Kotlin00000019.ts

来源:https://stackoverflow.com/questions/60220798/delegate-for-android-videoview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!