I have been trying to play encrypted .WEBM media files in ShakaPlayer without much success and I am here to seek advise from anybody who had been through this. It would be great if somebody in this awesome developer community can guide me here.
Round 1 - What I tried (Encoded & Dashed):
- Encoded .MP4 file to multiple-streams Video .WEBM (VP9) & single-stream Audio .WEBM (Vorbis) files using FFMPEG.
- Created DASH MANIFEST.MPD file with WEBM_TOOLS/WEBM_DASH_MANIFEST
Outcome: I am able to play this in Shaka Player without any issues.
Round 2 - What I tried (Encoded, Encrypted & Dashed):
Encoded .MP4 file to multiple-streams Video .WEBM (VP9) & single-stream Audio .WEBM (Vorbis) files using FFMPEG.
Encrypted generated .WEBM files with WEBM_TOOLS/WEBM_CRYPT
Created DASH MANIFEST.MPD file with WEBM_TOOLS/WEBM_DASH_MANIFEST
Outcome: I don't know how should I play this content in Shaka Player. Where and how should I provide the .key file generated in step 2 above to Shaka Player. I would like to use Clearkeys with CENC on browser. I don't want to encode to multi-stream .MP4, but only .WEBM.
Thanks so much!