videojs / m3u8-parser

An m3u8 parser.
Other
473 stars 98 forks source link

help on simple boolean response #104

Closed wilburforce83 closed 4 years ago

wilburforce83 commented 4 years ago

Hi,

I was wondering if there was a simple way to parse an m3u8 using this and to return a simple true/false on whether the m3u8 is working?

Thanks!

gkatsev commented 4 years ago

I'm not sure there's an easy way to tell. Just because the m3u8-parser correctly doesn't mean that it works. However, if it doesn't parse, it likely means that it doesn't work.

wilburforce83 commented 4 years ago

Thanks, pretty much as I thought! I am looking at m3u8stream, if is starts the stream return true, else return false. A bit clunky, but might be the easiest solution!

Thanks for replying so quickly!