hls.js 1.6.6-0.canary.11351 → 1.6.6-0.canary.11352

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.light.js CHANGED
@@ -1165,7 +1165,7 @@
1165
1165
  // Some browsers don't allow to use bind on console object anyway
1166
1166
  // fallback to default if needed
1167
1167
  try {
1168
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.6-0.canary.11351");
1168
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.6-0.canary.11352");
1169
1169
  } catch (e) {
1170
1170
  /* log fn threw an exception. All logger methods are no-ops. */
1171
1171
  return createLogger();
@@ -6038,12 +6038,12 @@
6038
6038
  };
6039
6039
  _proto.updateDuration = function updateDuration() {
6040
6040
  var _this16 = this;
6041
- var durationAndRange = this.getDurationAndRange();
6042
- if (!durationAndRange) {
6043
- return;
6044
- }
6045
6041
  this.blockUntilOpen(function () {
6046
- return _this16.updateMediaSource(durationAndRange);
6042
+ var durationAndRange = _this16.getDurationAndRange();
6043
+ if (!durationAndRange) {
6044
+ return;
6045
+ }
6046
+ _this16.updateMediaSource(durationAndRange);
6047
6047
  });
6048
6048
  };
6049
6049
  _proto.onError = function onError(event, data) {
@@ -20518,7 +20518,7 @@
20518
20518
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
20519
20519
  }
20520
20520
 
20521
- var version = "1.6.6-0.canary.11351";
20521
+ var version = "1.6.6-0.canary.11352";
20522
20522
 
20523
20523
  // ensure the worker ends up in the bundle
20524
20524
  // If the worker should not be included this gets aliased to empty.js