hls.js 1.6.0-beta.1.0.canary.10811 → 1.6.0-beta.1.0.canary.10813
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hls.js +18 -15
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +6 -6
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +6 -6
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +18 -15
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/interstitials-controller.ts +27 -16
- package/src/hls.ts +6 -0
- package/src/loader/playlist-loader.ts +4 -10
- package/src/types/events.ts +2 -2
package/dist/hls.light.js
CHANGED
@@ -1028,7 +1028,7 @@
|
|
1028
1028
|
// Some browsers don't allow to use bind on console object anyway
|
1029
1029
|
// fallback to default if needed
|
1030
1030
|
try {
|
1031
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.
|
1031
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10813");
|
1032
1032
|
} catch (e) {
|
1033
1033
|
/* log fn threw an exception. All logger methods are no-ops. */
|
1034
1034
|
return createLogger();
|
@@ -19766,7 +19766,7 @@
|
|
19766
19766
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
19767
19767
|
}
|
19768
19768
|
|
19769
|
-
var version = "1.6.0-beta.1.0.canary.
|
19769
|
+
var version = "1.6.0-beta.1.0.canary.10813";
|
19770
19770
|
|
19771
19771
|
// ensure the worker ends up in the bundle
|
19772
19772
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -21703,6 +21703,7 @@
|
|
21703
21703
|
this.hls = void 0;
|
21704
21704
|
this.loaders = Object.create(null);
|
21705
21705
|
this.variableList = null;
|
21706
|
+
this.onManifestLoaded = this.checkAutostartLoad;
|
21706
21707
|
this.hls = hls;
|
21707
21708
|
this.registerListeners();
|
21708
21709
|
}
|
@@ -22018,7 +22019,6 @@
|
|
22018
22019
|
startTimeOffset: startTimeOffset,
|
22019
22020
|
variableList: variableList
|
22020
22021
|
});
|
22021
|
-
this.checkAutostartLoad();
|
22022
22022
|
};
|
22023
22023
|
_proto.handleTrackOrLevelPlaylist = function handleTrackOrLevelPlaylist(response, stats, context, networkDetails, loader) {
|
22024
22024
|
var hls = this.hls;
|
@@ -22042,6 +22042,7 @@
|
|
22042
22042
|
name: '',
|
22043
22043
|
url: url
|
22044
22044
|
};
|
22045
|
+
levelDetails.requestScheduled = stats.loading.start + computeReloadInterval(levelDetails, 0);
|
22045
22046
|
hls.trigger(Events.MANIFEST_LOADED, {
|
22046
22047
|
levels: [singleLevel],
|
22047
22048
|
audioTracks: [],
|
@@ -22062,9 +22063,6 @@
|
|
22062
22063
|
// extend the context with the new levelDetails property
|
22063
22064
|
context.levelDetails = levelDetails;
|
22064
22065
|
this.handlePlaylistLoaded(levelDetails, response, stats, context, networkDetails, loader);
|
22065
|
-
if (type === PlaylistContextType.MANIFEST && (!levelDetails.playlistParsingError || !levelDetails.fragments.length && levelDetails.live)) {
|
22066
|
-
this.checkAutostartLoad();
|
22067
|
-
}
|
22068
22066
|
};
|
22069
22067
|
_proto.handleManifestParsingError = function handleManifestParsingError(response, context, error, networkDetails, stats) {
|
22070
22068
|
this.hls.trigger(Events.ERROR, {
|
@@ -22451,6 +22449,8 @@
|
|
22451
22449
|
if (typeof onErrorOut === 'function') {
|
22452
22450
|
this.on(Events.ERROR, onErrorOut, errorController);
|
22453
22451
|
}
|
22452
|
+
// Autostart load handler
|
22453
|
+
this.on(Events.MANIFEST_LOADED, playListLoader.onManifestLoaded, playListLoader);
|
22454
22454
|
}
|
22455
22455
|
/**
|
22456
22456
|
* Check if the required MediaSource Extensions are available.
|