hls.js 1.6.0-beta.2.0.canary.10910 → 1.6.0-beta.2.0.canary.10913

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
@@ -1030,7 +1030,7 @@
1030
1030
  // Some browsers don't allow to use bind on console object anyway
1031
1031
  // fallback to default if needed
1032
1032
  try {
1033
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.2.0.canary.10910");
1033
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.2.0.canary.10913");
1034
1034
  } catch (e) {
1035
1035
  /* log fn threw an exception. All logger methods are no-ops. */
1036
1036
  return createLogger();
@@ -17989,6 +17989,10 @@
17989
17989
  if (hasSecondBufferedRange) {
17990
17990
  return false;
17991
17991
  }
17992
+ // Playhead is in unbuffered region. Marking EoS now could result in Safari failing to dispatch "ended" event following seek on start.
17993
+ if (this.media.currentTime < bufferInfo.start) {
17994
+ return false;
17995
+ }
17992
17996
  var partList = levelDetails.partList;
17993
17997
  // Since the last part isn't guaranteed to correspond to the last playlist segment for Low-Latency HLS,
17994
17998
  // check instead if the last part is buffered.
@@ -19757,7 +19761,7 @@
19757
19761
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
19758
19762
  }
19759
19763
 
19760
- var version = "1.6.0-beta.2.0.canary.10910";
19764
+ var version = "1.6.0-beta.2.0.canary.10913";
19761
19765
 
19762
19766
  // ensure the worker ends up in the bundle
19763
19767
  // If the worker should not be included this gets aliased to empty.js