SampleAesDecrypter
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
decryptAacSample(samples: undefined, sampleIndex: number, callback: undefined) |
|
public |
decryptAacSamples(samples: undefined, sampleIndex: number, callback: undefined) |
|
public |
decryptAvcSample(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined, curUnit: AvcSampleUnit) |
|
public |
decryptAvcSamples(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined) |
|
public |
decryptBuffer(encryptedData: undefined): Promise |
|
public |
getAvcDecryptedUnit(decodedData: Uint8Array, decryptedData: undefined): * |
|
public |
getAvcEncryptedData(decodedData: Uint8Array): * |
Public Constructors
public constructor() source
Public Methods
public decryptAvcSample(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined, curUnit: AvcSampleUnit) source
public decryptAvcSamples(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined) source
public decryptBuffer(encryptedData: undefined): Promise source
Params:
Name | Type | Attribute | Description |
encryptedData | undefined |
public getAvcDecryptedUnit(decodedData: Uint8Array, decryptedData: undefined): * source
Params:
Name | Type | Attribute | Description |
decodedData | Uint8Array | ||
decryptedData | undefined |
Return:
* |
public getAvcEncryptedData(decodedData: Uint8Array): * source
Params:
Name | Type | Attribute | Description |
decodedData | Uint8Array |
Return:
* |