iheartradio / open-m3u8

Open Source m3u8 Parser
Other
245 stars 94 forks source link

AES-encryption #35

Open samek opened 8 years ago

samek commented 8 years ago

I'm having trouble getting encryption part to work.

#EXT-X-KEY:METHOD=AES-128,URI="https://domain/plist/Cn4/3/d628933e949ed2285c1a8abb1573c66/47406/index.key" 

But when I tried generating same playlist with open-m3u8 I could not get it to play. I've used #EXT-X-KEY:KEYFORMATVERSIONS="1" and KEYFORMAT="identity".

Thanks.

samek commented 8 years ago

Ok, so .. keyformat and keyformatversion as default values work, I just had from media sequence and IV was wrong.

but the question remains on how to have multiple keys in one plist ? Do I have to do a discontinue tag ?

Wopple commented 8 years ago

Unfortunately, it looks like that's not possible at the moment. That can be fixed. I will try to work on that this weekend.

Wopple commented 8 years ago

See: #37

Wopple commented 7 years ago

@sunglee413 looks like this issue is resolved.