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.js +6 -2
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +6 -2
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +6 -2
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +6 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/controller/base-stream-controller.ts +4 -0
package/dist/hls.js
CHANGED
@@ -1059,7 +1059,7 @@
|
|
1059
1059
|
// Some browsers don't allow to use bind on console object anyway
|
1060
1060
|
// fallback to default if needed
|
1061
1061
|
try {
|
1062
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.2.0.canary.
|
1062
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.2.0.canary.10913");
|
1063
1063
|
} catch (e) {
|
1064
1064
|
/* log fn threw an exception. All logger methods are no-ops. */
|
1065
1065
|
return createLogger();
|
@@ -8944,6 +8944,10 @@
|
|
8944
8944
|
if (hasSecondBufferedRange) {
|
8945
8945
|
return false;
|
8946
8946
|
}
|
8947
|
+
// Playhead is in unbuffered region. Marking EoS now could result in Safari failing to dispatch "ended" event following seek on start.
|
8948
|
+
if (this.media.currentTime < bufferInfo.start) {
|
8949
|
+
return false;
|
8950
|
+
}
|
8947
8951
|
var partList = levelDetails.partList;
|
8948
8952
|
// Since the last part isn't guaranteed to correspond to the last playlist segment for Low-Latency HLS,
|
8949
8953
|
// check instead if the last part is buffered.
|
@@ -16307,7 +16311,7 @@
|
|
16307
16311
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
16308
16312
|
}
|
16309
16313
|
|
16310
|
-
var version = "1.6.0-beta.2.0.canary.
|
16314
|
+
var version = "1.6.0-beta.2.0.canary.10913";
|
16311
16315
|
|
16312
16316
|
// ensure the worker ends up in the bundle
|
16313
16317
|
// If the worker should not be included this gets aliased to empty.js
|