SampleAesDecrypter
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
decryptAacSample(samples: undefined, sampleIndex: number, callback: undefined, sync: boolean) |
|
public |
decryptAacSamples(samples: undefined, sampleIndex: number, callback: undefined) |
|
public |
decryptAvcSample(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined, curUnit: AvcSampleUnit, sync: boolean) |
|
public |
decryptAvcSamples(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined) |
|
public |
decryptBuffer(encryptedData: undefined, callback: undefined) |
|
public |
getAvcDecryptedUnit(decodedData: Uint8Array, decryptedData: undefined): * |
|
public |
getAvcEncryptedData(decodedData: Uint8Array): * |
Public Constructors
public constructor() source
Public Methods
public decryptAacSample(samples: undefined, sampleIndex: number, callback: undefined, sync: boolean) source
public decryptAvcSample(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined, curUnit: AvcSampleUnit, sync: boolean) source
public decryptAvcSamples(samples: undefined, sampleIndex: number, unitIndex: number, callback: undefined) source
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:
* |