hls.js 1.6.7-0.canary.11366 → 1.6.7-0.canary.11369
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 +2 -2
- package/dist/hls.d.ts +2 -2
- package/dist/hls.js +138 -372
- package/dist/hls.js.d.ts +2 -2
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +21 -10
- 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 +21 -10
- 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 +30 -250
- 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 +2 -2
- package/src/controller/audio-stream-controller.ts +1 -3
- package/src/controller/eme-controller.ts +4 -207
- package/src/controller/id3-track-controller.ts +1 -9
- package/src/loader/level-key.ts +24 -6
- package/src/loader/m3u8-parser.ts +8 -3
- package/src/utils/hex.ts +11 -1
- package/src/utils/mediakeys-helper.ts +1 -1
- package/src/utils/mp4-tools.ts +6 -6
package/dist/hls.d.mts
CHANGED
@@ -989,7 +989,6 @@ export declare class EMEController extends Logger implements ComponentAPI {
|
|
989
989
|
private handleError;
|
990
990
|
private getKeySystemForKeyPromise;
|
991
991
|
private getKeySystemSelectionPromise;
|
992
|
-
private onMediaEncrypted;
|
993
992
|
private onWaitingForKey;
|
994
993
|
private attemptSetMediaKeys;
|
995
994
|
private generateRequestWithPreferredKeySession;
|
@@ -2747,7 +2746,8 @@ export declare class LevelKey implements DecryptData {
|
|
2747
2746
|
keyId: Uint8Array<ArrayBuffer> | null;
|
2748
2747
|
pssh: Uint8Array<ArrayBuffer> | null;
|
2749
2748
|
static clearKeyUriToKeyIdMap(): void;
|
2750
|
-
constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array<ArrayBuffer> | null);
|
2749
|
+
constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array<ArrayBuffer> | null, keyId?: string);
|
2750
|
+
matches(key: LevelKey): boolean;
|
2751
2751
|
isSupported(): boolean;
|
2752
2752
|
getDecryptData(sn: number | 'initSegment'): LevelKey | null;
|
2753
2753
|
}
|
package/dist/hls.d.ts
CHANGED
@@ -989,7 +989,6 @@ export declare class EMEController extends Logger implements ComponentAPI {
|
|
989
989
|
private handleError;
|
990
990
|
private getKeySystemForKeyPromise;
|
991
991
|
private getKeySystemSelectionPromise;
|
992
|
-
private onMediaEncrypted;
|
993
992
|
private onWaitingForKey;
|
994
993
|
private attemptSetMediaKeys;
|
995
994
|
private generateRequestWithPreferredKeySession;
|
@@ -2747,7 +2746,8 @@ export declare class LevelKey implements DecryptData {
|
|
2747
2746
|
keyId: Uint8Array<ArrayBuffer> | null;
|
2748
2747
|
pssh: Uint8Array<ArrayBuffer> | null;
|
2749
2748
|
static clearKeyUriToKeyIdMap(): void;
|
2750
|
-
constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array<ArrayBuffer> | null);
|
2749
|
+
constructor(method: string, uri: string, format: string, formatversions?: number[], iv?: Uint8Array<ArrayBuffer> | null, keyId?: string);
|
2750
|
+
matches(key: LevelKey): boolean;
|
2751
2751
|
isSupported(): boolean;
|
2752
2752
|
getDecryptData(sn: number | 'initSegment'): LevelKey | null;
|
2753
2753
|
}
|