videojs / m3u8-parser

An m3u8 parser.
Other
473 stars 98 forks source link

Add file address #115

Closed shell1986 closed 4 years ago

shell1986 commented 4 years ago

Hi, I want to suggest a small improvement for your parser. I am using a parser for this file https://test-streams.mux.dev/x36xhzz/url_6/193039199_mp4_h264_aac_hq_7.m3u8 The famous cartoon about a fat rabbit. It would be cool to add, in addition to the segments, the address "https://test-streams.mux.dev/x36xhzz/url_6/" where the segment files are located.

manifest={allowCache: true location: "https://test-streams.mux.dev/x36xhzz/url_6/", discontinuitySequence: 0, discontinuityStarts: [], endList: true, mediaSequence: 0, playlistType: "VOD", segments: (64) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}], targetDuration: 11}