hls.js 1.6.6-0.canary.11353 → 1.6.6-0.canary.11355
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 +12 -4
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +2 -2
- 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 +2 -2
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +12 -4
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +2 -2
- package/src/controller/interstitials-controller.ts +17 -2
- package/src/demux/transmuxer-worker.ts +1 -1
package/dist/hls.js
CHANGED
@@ -1165,7 +1165,7 @@
|
|
1165
1165
|
// Some browsers don't allow to use bind on console object anyway
|
1166
1166
|
// fallback to default if needed
|
1167
1167
|
try {
|
1168
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.6-0.canary.
|
1168
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.6-0.canary.11355");
|
1169
1169
|
} catch (e) {
|
1170
1170
|
/* log fn threw an exception. All logger methods are no-ops. */
|
1171
1171
|
return createLogger();
|
@@ -16725,7 +16725,7 @@
|
|
16725
16725
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
16726
16726
|
}
|
16727
16727
|
|
16728
|
-
var version = "1.6.6-0.canary.
|
16728
|
+
var version = "1.6.6-0.canary.11355";
|
16729
16729
|
|
16730
16730
|
// ensure the worker ends up in the bundle
|
16731
16731
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -25167,6 +25167,14 @@
|
|
25167
25167
|
scheduleIndex: index,
|
25168
25168
|
player: player
|
25169
25169
|
});
|
25170
|
+
if (currentItem !== this.playingItem) {
|
25171
|
+
// Schedule change occured on INTERSTITIAL_ASSET_ENDED
|
25172
|
+
if (this.itemsMatch(currentItem, this.playingItem) && !this.playingAsset) {
|
25173
|
+
this.advanceAfterAssetEnded(interstitial, this.findItemIndex(this.playingItem), playingAssetListIndex);
|
25174
|
+
}
|
25175
|
+
// Navigation occured on INTERSTITIAL_ASSET_ENDED
|
25176
|
+
return;
|
25177
|
+
}
|
25170
25178
|
this.retreiveMediaSource(assetId, scheduledItem);
|
25171
25179
|
if (player.media && !((_this$detachedData2 = this.detachedData) != null && _this$detachedData2.mediaSource)) {
|
25172
25180
|
player.detachMedia();
|
@@ -25188,7 +25196,7 @@
|
|
25188
25196
|
this.updateSchedule();
|
25189
25197
|
var items = this.schedule.items;
|
25190
25198
|
if (scheduledItem && items) {
|
25191
|
-
var updatedIndex = this.
|
25199
|
+
var updatedIndex = this.findItemIndex(scheduledItem);
|
25192
25200
|
this.advanceSchedule(updatedIndex, items, assetListIndex, currentItem, playingLastItem);
|
25193
25201
|
}
|
25194
25202
|
return;
|
@@ -26138,7 +26146,7 @@
|
|
26138
26146
|
return !asset.error;
|
26139
26147
|
})) {
|
26140
26148
|
interstitial.error = error;
|
26141
|
-
} else
|
26149
|
+
} else {
|
26142
26150
|
// Reset level details and reload/parse media playlists to align with updated schedule
|
26143
26151
|
for (var i = assetListIndex; i < interstitial.assetList.length; i++) {
|
26144
26152
|
this.resetAssetPlayer(interstitial.assetList[i].identifier);
|