hls.js 1.5.14-0.canary.10439 → 1.5.14-0.canary.10440

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
@@ -420,7 +420,7 @@ function enableLogs(debugConfig, context, id) {
420
420
  // Some browsers don't allow to use bind on console object anyway
421
421
  // fallback to default if needed
422
422
  try {
423
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10439"}`);
423
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10440"}`);
424
424
  } catch (e) {
425
425
  /* log fn threw an exception. All logger methods are no-ops. */
426
426
  return createLogger();
@@ -10971,7 +10971,10 @@ class BaseStreamController extends TaskLoop {
10971
10971
  recoverWorkerError(data) {
10972
10972
  if (data.event === 'demuxerWorker') {
10973
10973
  this.fragmentTracker.removeAllFragments();
10974
- this.resetTransmuxer();
10974
+ if (this.transmuxer) {
10975
+ this.transmuxer.destroy();
10976
+ this.transmuxer = null;
10977
+ }
10975
10978
  this.resetStartWhenNotLoaded(this.levelLastLoaded);
10976
10979
  this.resetLoadingState();
10977
10980
  }
@@ -11029,7 +11032,7 @@ function concatUint8Arrays(chunks, dataLength) {
11029
11032
  return result;
11030
11033
  }
11031
11034
 
11032
- const version = "1.5.14-0.canary.10439";
11035
+ const version = "1.5.14-0.canary.10440";
11033
11036
 
11034
11037
  // ensure the worker ends up in the bundle
11035
11038
  // If the worker should not be included this gets aliased to empty.js