hls.js 1.5.7-0.canary.10021 → 1.5.7-0.canary.10022
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 +18 -15
- package/dist/hls.js.d.ts +19 -28
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +5 -3
- 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 +5 -3
- 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 +18 -15
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/audio-stream-controller.ts +27 -20
- package/src/controller/base-stream-controller.ts +3 -1
- package/src/controller/subtitle-stream-controller.ts +14 -11
package/dist/hls.light.mjs
CHANGED
@@ -512,7 +512,7 @@ function enableLogs(debugConfig, context, id) {
|
|
512
512
|
// Some browsers don't allow to use bind on console object anyway
|
513
513
|
// fallback to default if needed
|
514
514
|
try {
|
515
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.7-0.canary.
|
515
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.7-0.canary.10022"}`);
|
516
516
|
} catch (e) {
|
517
517
|
/* log fn threw an exception. All logger methods are no-ops. */
|
518
518
|
return createLogger();
|
@@ -13285,7 +13285,9 @@ class BaseStreamController extends TaskLoop {
|
|
13285
13285
|
this.log('Reset loading state');
|
13286
13286
|
this.fragCurrent = null;
|
13287
13287
|
this.fragPrevious = null;
|
13288
|
-
this.state
|
13288
|
+
if (this.state !== State.STOPPED) {
|
13289
|
+
this.state = State.IDLE;
|
13290
|
+
}
|
13289
13291
|
}
|
13290
13292
|
resetStartWhenNotLoaded(level) {
|
13291
13293
|
// if loadedmetadata is not set, it means that first frag request failed
|
@@ -20123,7 +20125,7 @@ class Hls {
|
|
20123
20125
|
* Get the video-dev/hls.js package version.
|
20124
20126
|
*/
|
20125
20127
|
static get version() {
|
20126
|
-
return "1.5.7-0.canary.
|
20128
|
+
return "1.5.7-0.canary.10022";
|
20127
20129
|
}
|
20128
20130
|
|
20129
20131
|
/**
|