tedconf / node-m3u8

Streaming parser for m3u8 files in node
MIT License
189 stars 77 forks source link

Discontinuities with encryption #4

Open biddster opened 9 years ago

biddster commented 9 years ago

This library is fantastic and I'm using it to merge playlists. However, some of our segments are encrypted and we specify an EXT-X-KEY in the m3u8. When concatenating the playlists, only the first playlist has the EXT-X-KEY preserved.

A good example of what we're doing is here in the apple docs. https://developer.apple.com/library/ios/technotes/tn2288/_index.html#//apple_ref/doc/uid/DTS40012238-CH1-ENCRYPT

bog commented 9 years ago

I'd accept a PR for this.