UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

[Android] Support encrypted HLS videos offline

Open Meshak2002 opened this issue 1 year ago • 2 comments

Problem description:

Actually it runs fine with normal .m3u8 files offline but once it's AES-128 bits encrypted it's not playing even though I mentioned the key properly. I want a offline secure player

Device (which devices are you having the issue with - model, OS version number):

Editor, Android

Media (tell us about your videos - number of videos, resolution, codec, frame-rate, example URLs):

very basic video

System Information:

AVPro Video: v3.0.3 (plugin v3.0.0f1-trial) Target Platform: Android Unity: v2022.3.23f1 WindowsEditor OS: Desktop - B365 M AORUS ELITE (Gigabyte Technology Co., Ltd.) - Windows 10 (10.0.19045) 64bit - English CPU: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz - 6 threads - 16326KB GPU: NVIDIA GeForce GTX 1650 SUPER - NVIDIA - Direct3D 11.0 [level 11.1] - 3943KB - 16384

Meshak2002 avatar Jul 02 '24 09:07 Meshak2002

Hi, I am looking for the same functionality: stream a local encrypted AES file from disk. I am not understanding if this is a bug of the player or a missing feature; please let me know since I am considering the purchase based on this answer.

josefgrunig avatar Sep 05 '24 11:09 josefgrunig

An enhancement is something that we are adding support for in the future

Chris-RH avatar Sep 05 '24 13:09 Chris-RH

Android now supports playback of encrypted HLS from the local file system. You need to make sure the encryption method is AES-128 (SAMPLE-AES is not supported). Unfortunately we're unable to support playback from StreamingAssets due to the way it exists within an apk, you can however copy the files out of StreamingAssets to the persistentDataPath from which that can be played.

Encrypted HLS is not currently supported by the Media Caching portion of AVPro Video.

MorrisRH avatar Nov 18 '24 11:11 MorrisRH