hls.js 1.6.0-beta.2.0.canary.10876 → 1.6.0-beta.2.0.canary.10877
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 +127 -105
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +3 -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 +3 -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 +110 -92
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/eme-controller.ts +154 -116
- package/src/loader/key-loader.ts +6 -1
package/dist/hls.light.mjs
CHANGED
@@ -401,7 +401,7 @@ function enableLogs(debugConfig, context, id) {
|
|
401
401
|
// Some browsers don't allow to use bind on console object anyway
|
402
402
|
// fallback to default if needed
|
403
403
|
try {
|
404
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.2.0.canary.
|
404
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.2.0.canary.10877"}`);
|
405
405
|
} catch (e) {
|
406
406
|
/* log fn threw an exception. All logger methods are no-ops. */
|
407
407
|
return createLogger();
|
@@ -19113,7 +19113,7 @@ class GapController extends Logger {
|
|
19113
19113
|
}
|
19114
19114
|
}
|
19115
19115
|
|
19116
|
-
const version = "1.6.0-beta.2.0.canary.
|
19116
|
+
const version = "1.6.0-beta.2.0.canary.10877";
|
19117
19117
|
|
19118
19118
|
// ensure the worker ends up in the bundle
|
19119
19119
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -20884,7 +20884,7 @@ class KeyLoader {
|
|
20884
20884
|
}
|
20885
20885
|
}
|
20886
20886
|
load(frag) {
|
20887
|
-
if (!frag.decryptdata && frag.encrypted && this.emeController) {
|
20887
|
+
if (!frag.decryptdata && frag.encrypted && this.emeController && this.config.emeEnabled) {
|
20888
20888
|
// Multiple keys, but none selected, resolve in eme-controller
|
20889
20889
|
return this.emeController.selectKeySystemFormat(frag).then(keySystemFormat => {
|
20890
20890
|
return this.loadInternal(frag, keySystemFormat);
|