hls.js 1.5.14-0.canary.10517 → 1.5.14-0.canary.10520

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.
@@ -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.10517"}`);
424
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10520"}`);
425
425
  } catch (e) {
426
426
  /* log fn threw an exception. All logger methods are no-ops. */
427
427
  return createLogger();
@@ -8293,8 +8293,8 @@ class BufferController extends Logger {
8293
8293
  }
8294
8294
  }
8295
8295
  get mediaSrc() {
8296
- var _this$media;
8297
- const media = ((_this$media = this.media) == null ? void 0 : _this$media.firstChild) || this.media;
8296
+ var _this$media, _this$media$querySele;
8297
+ const media = ((_this$media = this.media) == null ? void 0 : (_this$media$querySele = _this$media.querySelector) == null ? void 0 : _this$media$querySele.call(_this$media, 'source')) || this.media;
8298
8298
  return media == null ? void 0 : media.src;
8299
8299
  }
8300
8300
  _onSBUpdateStart(type) {
@@ -13865,7 +13865,7 @@ function changeTypeSupported() {
13865
13865
  return typeof (sourceBuffer == null ? void 0 : (_sourceBuffer$prototy = sourceBuffer.prototype) == null ? void 0 : _sourceBuffer$prototy.changeType) === 'function';
13866
13866
  }
13867
13867
 
13868
- const version = "1.5.14-0.canary.10517";
13868
+ const version = "1.5.14-0.canary.10520";
13869
13869
 
13870
13870
  // ensure the worker ends up in the bundle
13871
13871
  // If the worker should not be included this gets aliased to empty.js