hls.js 1.5.14-0.canary.10590 → 1.5.14-0.canary.10593
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 +5 -4
- 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 +4 -3
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/controller/eme-controller.ts +1 -1
package/dist/hls.js
CHANGED
@@ -523,7 +523,7 @@
|
|
523
523
|
// Some browsers don't allow to use bind on console object anyway
|
524
524
|
// fallback to default if needed
|
525
525
|
try {
|
526
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.
|
526
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10593");
|
527
527
|
} catch (e) {
|
528
528
|
/* log fn threw an exception. All logger methods are no-ops. */
|
529
529
|
return createLogger();
|
@@ -17311,7 +17311,7 @@
|
|
17311
17311
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
17312
17312
|
}
|
17313
17313
|
|
17314
|
-
var version = "1.5.14-0.canary.
|
17314
|
+
var version = "1.5.14-0.canary.10593";
|
17315
17315
|
|
17316
17316
|
// ensure the worker ends up in the bundle
|
17317
17317
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -24950,7 +24950,8 @@
|
|
24950
24950
|
media.addEventListener('waitingforkey', this.onWaitingForKey);
|
24951
24951
|
};
|
24952
24952
|
_proto.onMediaDetached = function onMediaDetached() {
|
24953
|
-
var _this14 = this
|
24953
|
+
var _this14 = this,
|
24954
|
+
_media$setMediaKeys;
|
24954
24955
|
var media = this.media;
|
24955
24956
|
var mediaKeysList = this.mediaKeySessions;
|
24956
24957
|
if (media) {
|
@@ -24968,7 +24969,7 @@
|
|
24968
24969
|
var keySessionCount = mediaKeysList.length;
|
24969
24970
|
EMEController.CDMCleanupPromise = Promise.all(mediaKeysList.map(function (mediaKeySessionContext) {
|
24970
24971
|
return _this14.removeSession(mediaKeySessionContext);
|
24971
|
-
}).concat(media == null ? void 0 : media.setMediaKeys(null).catch(function (error) {
|
24972
|
+
}).concat(media == null ? void 0 : (_media$setMediaKeys = media.setMediaKeys(null)) == null ? void 0 : _media$setMediaKeys.catch(function (error) {
|
24972
24973
|
_this14.log("Could not clear media keys: " + error);
|
24973
24974
|
}))).then(function () {
|
24974
24975
|
if (keySessionCount) {
|