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.mjs CHANGED
@@ -421,7 +421,7 @@ function enableLogs(debugConfig, context, id) {
421
421
  // Some browsers don't allow to use bind on console object anyway
422
422
  // fallback to default if needed
423
423
  try {
424
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10590"}`);
424
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10593"}`);
425
425
  } catch (e) {
426
426
  /* log fn threw an exception. All logger methods are no-ops. */
427
427
  return createLogger();
@@ -11079,7 +11079,7 @@ function concatUint8Arrays(chunks, dataLength) {
11079
11079
  return result;
11080
11080
  }
11081
11081
 
11082
- const version = "1.5.14-0.canary.10590";
11082
+ const version = "1.5.14-0.canary.10593";
11083
11083
 
11084
11084
  // ensure the worker ends up in the bundle
11085
11085
  // If the worker should not be included this gets aliased to empty.js
@@ -24332,6 +24332,7 @@ class EMEController extends Logger {
24332
24332
  media.addEventListener('waitingforkey', this.onWaitingForKey);
24333
24333
  }
24334
24334
  onMediaDetached() {
24335
+ var _media$setMediaKeys;
24335
24336
  const media = this.media;
24336
24337
  const mediaKeysList = this.mediaKeySessions;
24337
24338
  if (media) {
@@ -24347,7 +24348,7 @@ class EMEController extends Logger {
24347
24348
 
24348
24349
  // Close all sessions and remove media keys from the video element.
24349
24350
  const keySessionCount = mediaKeysList.length;
24350
- EMEController.CDMCleanupPromise = Promise.all(mediaKeysList.map(mediaKeySessionContext => this.removeSession(mediaKeySessionContext)).concat(media == null ? void 0 : media.setMediaKeys(null).catch(error => {
24351
+ EMEController.CDMCleanupPromise = Promise.all(mediaKeysList.map(mediaKeySessionContext => this.removeSession(mediaKeySessionContext)).concat(media == null ? void 0 : (_media$setMediaKeys = media.setMediaKeys(null)) == null ? void 0 : _media$setMediaKeys.catch(error => {
24351
24352
  this.log(`Could not clear media keys: ${error}`);
24352
24353
  }))).then(() => {
24353
24354
  if (keySessionCount) {