You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec (https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#page-29) indicates that CODECS are defined as a quoted string. In the future we will add validation warnings and errors to indicate that a manifest is not to spec, at the moment we don't have plans to handle bad manifests.
Keeping this open until we've implemented the validation warning
Greetings
I'm using VideoJS with HLS and I'm receiving exceptions for this line:
attr = (/([^=]*)=(.*)/).exec(attrs[i]).slice(1);
(
parse-stream.js
line 40)The problem is, the attribute array is like this:
probably because it's parsed from a m3u8 manifest.
On the first line parsed, line 8, the regex returns
undefined
so there is noslice()
method.I'm not sure if
parseAttributes()
should be receiving this, but it definitely should check the regex result before using it.The text was updated successfully, but these errors were encountered: