node-m3u8 icon indicating copy to clipboard operation
node-m3u8 copied to clipboard

Streaming parser for m3u8 files in node

Results 17 node-m3u8 issues
Sort by recently updated
recently updated
newest added

I am trying to develop an HLS VoD backend API. I already built the algorithm to create the different segment playlists for each quality that I want to deliver. I...

This PR extends the parser with the ability to handle EXT-X-CUE-OUT and EXT-X-CUE-IN. ``` #EXT-X-CUE-OUT:DURATION=30 #EXTINF:10, #EXT-X-BYTERANGE:709136@5212676 hls_450k_video.ts #EXTINF:10, #EXT-X-BYTERANGE:730004@5921812 hls_450k_video.ts #EXTINF:10, #EXT-X-BYTERANGE:456276@6651816 hls_450k_video.ts #EXT-X-CUE-IN #EXTINF:10, #EXT-X-BYTERANGE:468684@7108092 hls_450k_video.ts ``` EXT-X-CUE-OUT...

fix all warnings with parser.

## List of additions/changes (all backward compatible) ### parser - added an `options` parameter to `createStream(options)` - **`options.lax`** a `true/false` boolean which basically forgives the parsed text if it doesn't...

This feature allow to add extra attributes to items in a playlist. E.i: `playlist.items.PlaylistItem[lastIndex].attributes.attributes['#EXT-X-MDSTRM-CUE-POINT-OUT'] = "DURATION=#{Number(segment.cueOut.duration).toFixed 4},#{segment.cueOut.id}"`

This adds formatted output for "cueIn" and "cueOut" for use with Doubleclick's DAI. https://support.google.com/dfp_premium/answer/7245661?hl=en&ref_topic=7335768

This adds attributes needed for Doubleclick's dynamic ad insertion (DAI). https://support.google.com/dfp_premium/answer/7245661?hl=en&ref_topic=7335768

Makes the raw value of the `EXT-X-PROGRAM-DATE-TIME` available on a playlist item. I used the same property name as what was added in #2.