hls.js 1.6.0-beta.3.0.canary.10947 → 1.6.0-beta.3.0.canary.10950
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 +8 -6
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +2 -2
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.mjs +2 -2
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +8 -6
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/controller/interstitials-controller.ts +6 -4
package/dist/hls.js
CHANGED
@@ -1059,7 +1059,7 @@
|
|
1059
1059
|
// Some browsers don't allow to use bind on console object anyway
|
1060
1060
|
// fallback to default if needed
|
1061
1061
|
try {
|
1062
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.3.0.canary.
|
1062
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.3.0.canary.10950");
|
1063
1063
|
} catch (e) {
|
1064
1064
|
/* log fn threw an exception. All logger methods are no-ops. */
|
1065
1065
|
return createLogger();
|
@@ -16358,7 +16358,7 @@
|
|
16358
16358
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
16359
16359
|
}
|
16360
16360
|
|
16361
|
-
var version = "1.6.0-beta.3.0.canary.
|
16361
|
+
var version = "1.6.0-beta.3.0.canary.10950";
|
16362
16362
|
|
16363
16363
|
// ensure the worker ends up in the bundle
|
16364
16364
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -24339,7 +24339,7 @@
|
|
24339
24339
|
_proto.checkStart = function checkStart() {
|
24340
24340
|
var schedule = this.schedule;
|
24341
24341
|
var interstitialEvents = schedule.events;
|
24342
|
-
if (!interstitialEvents || this.playbackDisabled) {
|
24342
|
+
if (!interstitialEvents || this.playbackDisabled || !this.media) {
|
24343
24343
|
return;
|
24344
24344
|
}
|
24345
24345
|
// Check buffered to pre-roll
|
@@ -24381,6 +24381,10 @@
|
|
24381
24381
|
this.setSchedulePosition(-1);
|
24382
24382
|
return;
|
24383
24383
|
}
|
24384
|
+
var resumptionTime = interstitial.resumeTime;
|
24385
|
+
if (this.timelinePos < resumptionTime) {
|
24386
|
+
this.timelinePos = resumptionTime;
|
24387
|
+
}
|
24384
24388
|
this.setSchedulePosition(nextIndex);
|
24385
24389
|
}
|
24386
24390
|
}
|
@@ -24480,10 +24484,8 @@
|
|
24480
24484
|
}
|
24481
24485
|
// Ensure Interstitial is enqueued
|
24482
24486
|
var waitingItem = this.waitingItem;
|
24487
|
+
this.setBufferingItem(scheduledItem);
|
24483
24488
|
var player = this.preloadAssets(interstitial, assetListIndex);
|
24484
|
-
if (!player) {
|
24485
|
-
this.setBufferingItem(scheduledItem);
|
24486
|
-
}
|
24487
24489
|
if (!this.eventItemsMatch(scheduledItem, currentItem || waitingItem)) {
|
24488
24490
|
this.waitingItem = scheduledItem;
|
24489
24491
|
this.log("INTERSTITIAL_STARTED " + segmentToString(scheduledItem) + " " + (interstitial.appendInPlace ? 'append in place' : ''));
|