update tabs
This commit is contained in:
parent
d808aced1d
commit
9ceaf21b80
37 changed files with 565 additions and 345 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hls.js",
|
||||
"version": "0.5.19",
|
||||
"version": "0.5.20",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
||||
"homepage": "https://github.com/dailymotion/hls.js",
|
||||
|
@ -16,11 +16,11 @@
|
|||
"test",
|
||||
"tests"
|
||||
],
|
||||
"_release": "0.5.19",
|
||||
"_release": "0.5.20",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v0.5.19",
|
||||
"commit": "ad5665b216b04d1dd5a44dbf9242664e2da323e0"
|
||||
"tag": "v0.5.20",
|
||||
"commit": "3fb06c59d0df49961c057b522dc08eba4b8b0f08"
|
||||
},
|
||||
"_source": "git://github.com/dailymotion/hls.js.git",
|
||||
"_target": "~0.5.7",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hls.js",
|
||||
"version": "0.5.19",
|
||||
"version": "0.5.20",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
||||
"homepage": "https://github.com/dailymotion/hls.js",
|
||||
|
|
|
@ -454,6 +454,13 @@ var AbrController = function (_EventHandler) {
|
|||
var hls = this.hls,
|
||||
v = hls.media,
|
||||
frag = this.fragCurrent;
|
||||
|
||||
// if loader has been destroyed or loading has been aborted, stop timer and return
|
||||
if (!frag.loader || frag.loader.stats && frag.loader.stats.aborted) {
|
||||
_logger.logger.warn('frag loader destroy or aborted, disarm abandonRulesCheck');
|
||||
this.clearTimer();
|
||||
return;
|
||||
}
|
||||
/* only monitor frag retrieval time if
|
||||
(video not paused OR first fragment being loaded(ready state === HAVE_NOTHING = 0)) AND autoswitching enabled AND not lowest level (=> means that we have several levels) */
|
||||
if (v && (!v.paused || !v.readyState) && frag.autoLevel && frag.level) {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hls.js",
|
||||
"version": "0.5.19",
|
||||
"version": "0.5.20",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Media Source Extension - HLS library, by/for Dailymotion",
|
||||
"homepage": "https://github.com/dailymotion/hls.js",
|
||||
|
|
|
@ -53,6 +53,13 @@ class AbrController extends EventHandler {
|
|||
we compare it to expected time of buffer starvation
|
||||
*/
|
||||
let hls = this.hls, v = hls.media,frag = this.fragCurrent;
|
||||
|
||||
// if loader has been destroyed or loading has been aborted, stop timer and return
|
||||
if(!frag.loader || ( frag.loader.stats && frag.loader.stats.aborted)) {
|
||||
logger.warn(`frag loader destroy or aborted, disarm abandonRulesCheck`);
|
||||
this.clearTimer();
|
||||
return;
|
||||
}
|
||||
/* only monitor frag retrieval time if
|
||||
(video not paused OR first fragment being loaded(ready state === HAVE_NOTHING = 0)) AND autoswitching enabled AND not lowest level (=> means that we have several levels) */
|
||||
if (v && (!v.paused || !v.readyState) && frag.autoLevel && frag.level) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue