improvement
- support #EXT-X-DISCONTINUITY on VoD and live streams
API change
- introduce MANIFEST_LOADING event.
- LEVEL_LOADED/LEVEL_SWITCH event: use level instead of levelId to report level Index
- hls.stats : also report add fragLastKbps/fragLastKbps
- review error handling. now all errors are reported through one unique event.
refer to https://github.com/dailymotion/hls.js/blob/master/API.md#fifth-step--error-handling for more details- add new error FRAG_LOOP_LOADING_ERROR, raised upon detection of same fragment being requested in loop.
behavior change
- detailed behavior and error handling is documented in https://github.com/dailymotion/hls.js/blob/master/design.md
Packaging/Formatting/Docs
- document design
- document hello world
- demo page : clean-up, use jquery instead of vanilla JS
bugfixes
- live playlist : fix playback being stuck when switching between quality level after a long time.
- tsdemuxer:avoid spurious undefined errors on broken streams
- tsdemuxer:handle AAC PES with offsetted ADTS header
- tsdemuxer: fix playback freezing with long stream (correctly handle PTS looping)
- level-controller: avoid LEVEL_SWITCH_ERROR reporting in case of setting hls.loadLevel to -1