hls.js 1.6.0-beta.2.0.canary.10932 → 1.6.0-beta.2.0.canary.10935
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.d.mts +4 -0
- package/dist/hls.d.ts +4 -0
- package/dist/hls.js +19 -2
- package/dist/hls.js.d.ts +4 -0
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +19 -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 +15 -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 +15 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/controller/level-controller.ts +8 -0
- package/src/hls.ts +7 -0
package/dist/hls.light.mjs
CHANGED
@@ -402,7 +402,7 @@ function enableLogs(debugConfig, context, id) {
|
|
402
402
|
// Some browsers don't allow to use bind on console object anyway
|
403
403
|
// fallback to default if needed
|
404
404
|
try {
|
405
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.2.0.canary.
|
405
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.2.0.canary.10935"}`);
|
406
406
|
} catch (e) {
|
407
407
|
/* log fn threw an exception. All logger methods are no-ops. */
|
408
408
|
return createLogger();
|
@@ -19175,6 +19175,12 @@ class LevelController extends BasePlaylistController {
|
|
19175
19175
|
set startLevel(newLevel) {
|
19176
19176
|
this._startLevel = newLevel;
|
19177
19177
|
}
|
19178
|
+
get pathways() {
|
19179
|
+
if (this.steering) {
|
19180
|
+
return this.steering.pathways();
|
19181
|
+
}
|
19182
|
+
return [];
|
19183
|
+
}
|
19178
19184
|
get pathwayPriority() {
|
19179
19185
|
if (this.steering) {
|
19180
19186
|
return this.steering.pathwayPriority;
|
@@ -19359,7 +19365,7 @@ function assignTrackIdsByGroup(tracks) {
|
|
19359
19365
|
});
|
19360
19366
|
}
|
19361
19367
|
|
19362
|
-
const version = "1.6.0-beta.2.0.canary.
|
19368
|
+
const version = "1.6.0-beta.2.0.canary.10935";
|
19363
19369
|
|
19364
19370
|
// ensure the worker ends up in the bundle
|
19365
19371
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -22898,6 +22904,13 @@ class Hls {
|
|
22898
22904
|
return this.streamController.forceStartLoad;
|
22899
22905
|
}
|
22900
22906
|
|
22907
|
+
/**
|
22908
|
+
* ContentSteering pathways getter
|
22909
|
+
*/
|
22910
|
+
get pathways() {
|
22911
|
+
return this.levelController.pathways;
|
22912
|
+
}
|
22913
|
+
|
22901
22914
|
/**
|
22902
22915
|
* ContentSteering pathwayPriority getter/setter
|
22903
22916
|
*/
|