hls.js 1.5.18 → 1.5.19
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 +250 -203
- package/dist/hls.js.d.ts +3 -4
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +24 -29
- 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 +23 -28
- 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 +200 -157
- 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 +184 -124
- package/src/loader/key-loader.ts +6 -1
- package/src/loader/level-key.ts +6 -30
- package/src/utils/level-helper.ts +37 -38
- package/src/utils/mediakeys-helper.ts +34 -1
package/dist/hls.js.d.ts
CHANGED
@@ -801,8 +801,6 @@ export declare class EMEController implements ComponentAPI {
|
|
801
801
|
private mediaKeySessions;
|
802
802
|
private keyIdToKeySessionPromise;
|
803
803
|
private setMediaKeysQueue;
|
804
|
-
private onMediaEncrypted;
|
805
|
-
private onWaitingForKey;
|
806
804
|
private debug;
|
807
805
|
private log;
|
808
806
|
private warn;
|
@@ -812,6 +810,7 @@ export declare class EMEController implements ComponentAPI {
|
|
812
810
|
private registerListeners;
|
813
811
|
private unregisterListeners;
|
814
812
|
private getLicenseServerUrl;
|
813
|
+
private getLicenseServerUrlOrThrow;
|
815
814
|
private getServerCertificateUrl;
|
816
815
|
private attemptKeySystemAccess;
|
817
816
|
private requestMediaKeySystemAccess;
|
@@ -827,8 +826,8 @@ export declare class EMEController implements ComponentAPI {
|
|
827
826
|
private handleError;
|
828
827
|
private getKeySystemForKeyPromise;
|
829
828
|
private getKeySystemSelectionPromise;
|
830
|
-
private
|
831
|
-
private
|
829
|
+
private onMediaEncrypted;
|
830
|
+
private onWaitingForKey;
|
832
831
|
private attemptSetMediaKeys;
|
833
832
|
private generateRequestWithPreferredKeySession;
|
834
833
|
private onKeyStatusChange;
|