hls.js 1.5.8-0.canary.10165 → 1.5.8-0.canary.10168
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 +5 -2
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +2 -15
- 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 +2 -15
- 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 +5 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/utils/rendition-helper.ts +4 -1
package/dist/hls.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.8-0.canary.
|
515
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.8-0.canary.10168"}`);
|
516
516
|
} catch (e) {
|
517
517
|
/* log fn threw an exception. All logger methods are no-ops. */
|
518
518
|
return createLogger();
|
@@ -7037,6 +7037,9 @@ function getCodecTiers(levels, audioTracksByGroup, minAutoLevel, maxAutoLevel) {
|
|
7037
7037
|
return;
|
7038
7038
|
}
|
7039
7039
|
const audioGroup = audioTracksByGroup.groups[audioGroupId];
|
7040
|
+
if (!audioGroup) {
|
7041
|
+
return;
|
7042
|
+
}
|
7040
7043
|
// Default audio is any group with DEFAULT=YES, or if missing then any group with AUTOSELECT=YES, or all variants
|
7041
7044
|
tier.hasDefaultAudio = tier.hasDefaultAudio || audioTracksByGroup.hasDefaultAudio ? audioGroup.hasDefault : audioGroup.hasAutoSelect || !audioTracksByGroup.hasDefaultAudio && !audioTracksByGroup.hasAutoSelectAudio;
|
7042
7045
|
Object.keys(audioGroup.channels).forEach(channels => {
|
@@ -28981,7 +28984,7 @@ class Hls {
|
|
28981
28984
|
* Get the video-dev/hls.js package version.
|
28982
28985
|
*/
|
28983
28986
|
static get version() {
|
28984
|
-
return "1.5.8-0.canary.
|
28987
|
+
return "1.5.8-0.canary.10168";
|
28985
28988
|
}
|
28986
28989
|
|
28987
28990
|
/**
|