videojs / videojs-contrib-eme

Supports Encrypted Media Extensions for playback of encrypted content in Video.js
Other
200 stars 71 forks source link

How does my HLS manifest have to look like in order to trigger ClearKey with HLS #199

Open lindenb1 opened 8 months ago

lindenb1 commented 8 months ago

Hello,

I would like to know how my HLS manifest has to look like in order to trigger ClearKey using HLS streaming. Currently, my manifest look like this, but from my understanding this isn't ClearKey, this is simply encrypted HLS using AES-128:

#EXTM3U
#EXT-X-VERSION:7
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MAP:URI="init.m4s"
#EXT-X-KEY:METHOD=AES-128,URI="https://domain.com/9915b885-bd21-4455-9c76-351657640fe7/yKgyvNsw252Z973520yg3yj9hlFCVGUIDWyDWvB6V1qLXyvTV4EvVvwRlOgnds1f",IV=e5aa88fe5bf759221369e7656138d6bb
#EXTINF:6.000000,
lots of segments ...
  1. Does VideoJS support ClearKey using HLS?
  2. How does my #EXT-X-KEY line has to look like in order to trigger the eme extension and later use the getLicense call ?

Can somebody help?