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
add hls.recoverError() : calling this function will destroy and reinstanciate both MediaSource and SourceBuffer(s).it helps recovering playback if any video error happens (in case of audio codec switch for example)
hls Events:
remove useless VIDEO_ERROR event. it can already be retrieved through standard HTML Video Element
introduce new FRAG_APPENDING_ERROR event.this event will be raised in case of source buffer appending error.
FRAG_PARSING_DATA: add nb of parsed samples in event data. this will be useful to detect frames drop.
replace LOAD_ERROR event by FRAG_LOAD_ERROR/LEVEL_LOAD_ERROR
introduce FRAG_LOAD_TIMEOUT/LEVEL_LOAD_TIMEOUT
behavior change:
buffer controller : max buffer Length is now max(60MB of buffer size,30s of buffer duration), instead of min.
This allows longer buffer if bandwidth is "low".
upon fragment or level load error/timeout, hls.js will notify error event(s) and try to reload.
Packaging/Formatting
move from 6to5ify to Babel
use String templates
remove a couple of globals
demo page : display hls.stats, hide metrics by default, allow video width customization
bugfixes
Firefox: properly signal audio codecs to avoid SourceBuffer append error while switching between AAC/HE-AAC streams (fix issue with x2qm99a)
avoid appending empty buffer in case audio or video are advertised in manifest but not present in the TS (fix playback of x2sex2v)
Chrome : fix standard AAC 22kHz codec handling
Chrome: fix video error while trying to playback streams with mono audio AAC with freq >= 24 kHz
TS demuxer : fix sourceBuffer append error when seeking back to position 0, with seek level != startLevel. if there is any drift between level & startLevel, initPTS/initDTS could become negative and lead to sourcebuffer append errors
live playlist : fix random out of order segment loading
live playlist : fix playback being stuck when end of buffer moves out of live sliding window.when this happens, seek to 3 fragments from live sliding edge