hls.js 1.6.0-beta.1.0.canary.10766 → 1.6.0-beta.1.0.canary.10767

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 CHANGED
@@ -1057,7 +1057,7 @@
1057
1057
  // Some browsers don't allow to use bind on console object anyway
1058
1058
  // fallback to default if needed
1059
1059
  try {
1060
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10766");
1060
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10767");
1061
1061
  } catch (e) {
1062
1062
  /* log fn threw an exception. All logger methods are no-ops. */
1063
1063
  return createLogger();
@@ -16239,7 +16239,7 @@
16239
16239
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16240
16240
  }
16241
16241
 
16242
- var version = "1.6.0-beta.1.0.canary.10766";
16242
+ var version = "1.6.0-beta.1.0.canary.10767";
16243
16243
 
16244
16244
  // ensure the worker ends up in the bundle
16245
16245
  // If the worker should not be included this gets aliased to empty.js
@@ -34215,6 +34215,10 @@
34215
34215
  return;
34216
34216
  }
34217
34217
  this.logger.log("attachMedia");
34218
+ if (this._media) {
34219
+ this.logger.warn("media must be detached before attaching");
34220
+ this.detachMedia();
34221
+ }
34218
34222
  var attachMediaSource = 'media' in data;
34219
34223
  var media = attachMediaSource ? data.media : data;
34220
34224
  var attachingData = attachMediaSource ? data : {