SampleAesDecrypter
Constructor Summary
| Public Constructor | ||
| public |  | |
Member Summary
| Public Members | ||
| public | decryptdata: * | |
| public | decrypter: * | |
| public | discardEPB: * | |
Method Summary
| Public Methods | ||
| public | decryptAacSample(samples: *, sampleIndex: *, callback: *, sync: *) | |
| public | decryptAacSamples(samples: *, sampleIndex: *, callback: *) | |
| public | decryptAvcSample(samples: *, sampleIndex: *, unitIndex: *, callback: *, curUnit: *, sync: *) | |
| public | decryptAvcSamples(samples: *, sampleIndex: *, unitIndex: *, callback: *) | |
| public | decryptBuffer(encryptedData: *, callback: *) | |
| public | getAvcDecryptedUnit(decodedData: *, decryptedData: *): * | |
| public | getAvcEncryptedData(decodedData: *): * | |
Public Constructors
public constructor() source
Public Methods
public decryptAacSample(samples: *, sampleIndex: *, callback: *, sync: *) source
Params:
| Name | Type | Attribute | Description | 
| samples | * | ||
| sampleIndex | * | ||
| callback | * | ||
| sync | * | 
public decryptAacSamples(samples: *, sampleIndex: *, callback: *) source
Params:
| Name | Type | Attribute | Description | 
| samples | * | ||
| sampleIndex | * | ||
| callback | * | 
public decryptAvcSample(samples: *, sampleIndex: *, unitIndex: *, callback: *, curUnit: *, sync: *) source
Params:
| Name | Type | Attribute | Description | 
| samples | * | ||
| sampleIndex | * | ||
| unitIndex | * | ||
| callback | * | ||
| curUnit | * | ||
| sync | * | 
public decryptAvcSamples(samples: *, sampleIndex: *, unitIndex: *, callback: *) source
Params:
| Name | Type | Attribute | Description | 
| samples | * | ||
| sampleIndex | * | ||
| unitIndex | * | ||
| callback | * | 
public decryptBuffer(encryptedData: *, callback: *) source
Params:
| Name | Type | Attribute | Description | 
| encryptedData | * | ||
| callback | * | 
public getAvcDecryptedUnit(decodedData: *, decryptedData: *): * source
Params:
| Name | Type | Attribute | Description | 
| decodedData | * | ||
| decryptedData | * | 
Return:
| * | 
public getAvcEncryptedData(decodedData: *): * source
Params:
| Name | Type | Attribute | Description | 
| decodedData | * | 
Return:
| * | 
 
    
  