m3u8
m3u8 copied to clipboard
EXT-X-KEY tags apply to all segments that come after it
This fixes an issue where MediaSegment.Key is not set correctly
Coverage decreased (-0.02%) to 74.127% when pulling cb4f5a669a5642b3f769a4efb2a19ff52bb81945 on fancybits:segment-keys into 920643e7fcabbe6078c26b65e6b38ae9306f5b33 on grafov:master.
Coverage decreased (-0.02%) to 74.127% when pulling cb4f5a669a5642b3f769a4efb2a19ff52bb81945 on fancybits:segment-keys into 920643e7fcabbe6078c26b65e6b38ae9306f5b33 on grafov:master.
Coverage decreased (-0.02%) to 74.127% when pulling cb4f5a669a5642b3f769a4efb2a19ff52bb81945 on fancybits:segment-keys into 920643e7fcabbe6078c26b65e6b38ae9306f5b33 on grafov:master.
Ping @leikao
This change would cause decoding and re-encoding some playlists to have KEY
tags on every segment when they previously did not. For a long playlist this could add a lot of unnecessary bytes to the m3u8.
@tmm1 actually interpreting the key tags (application to a segment) is the job of the code using this library (e.g. a streaming player). The playlist representation should be as small as possible, so also what @mjneil writes.