hls.js 1.6.0-beta.1.0.canary.10748 → 1.6.0-beta.1.0.canary.10749
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 +3 -0
- package/dist/hls.d.ts +3 -0
- package/dist/hls.js +33 -2
- package/dist/hls.js.d.ts +3 -0
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +5 -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 +5 -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 +33 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +1 -1
- package/src/controller/eme-controller.ts +26 -0
- package/src/errors.ts +3 -0
package/dist/hls.light.mjs
CHANGED
@@ -28,6 +28,9 @@ let ErrorDetails = /*#__PURE__*/function (ErrorDetails) {
|
|
28
28
|
ErrorDetails["KEY_SYSTEM_SESSION_UPDATE_FAILED"] = "keySystemSessionUpdateFailed";
|
29
29
|
ErrorDetails["KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED"] = "keySystemStatusOutputRestricted";
|
30
30
|
ErrorDetails["KEY_SYSTEM_STATUS_INTERNAL_ERROR"] = "keySystemStatusInternalError";
|
31
|
+
ErrorDetails["KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR"] = "keySystemDestroyMediaKeysError";
|
32
|
+
ErrorDetails["KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR"] = "keySystemDestroyCloseSessionError";
|
33
|
+
ErrorDetails["KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR"] = "keySystemDestroyRemoveSessionError";
|
31
34
|
ErrorDetails["MANIFEST_LOAD_ERROR"] = "manifestLoadError";
|
32
35
|
ErrorDetails["MANIFEST_LOAD_TIMEOUT"] = "manifestLoadTimeOut";
|
33
36
|
ErrorDetails["MANIFEST_PARSING_ERROR"] = "manifestParsingError";
|
@@ -397,7 +400,7 @@ function enableLogs(debugConfig, context, id) {
|
|
397
400
|
// Some browsers don't allow to use bind on console object anyway
|
398
401
|
// fallback to default if needed
|
399
402
|
try {
|
400
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.
|
403
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10749"}`);
|
401
404
|
} catch (e) {
|
402
405
|
/* log fn threw an exception. All logger methods are no-ops. */
|
403
406
|
return createLogger();
|
@@ -19033,7 +19036,7 @@ class GapController extends Logger {
|
|
19033
19036
|
}
|
19034
19037
|
}
|
19035
19038
|
|
19036
|
-
const version = "1.6.0-beta.1.0.canary.
|
19039
|
+
const version = "1.6.0-beta.1.0.canary.10749";
|
19037
19040
|
|
19038
19041
|
// ensure the worker ends up in the bundle
|
19039
19042
|
// If the worker should not be included this gets aliased to empty.js
|