BaseAudioDemuxer
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
cachedData: * |
|
public |
|
|
public |
initPTS: * |
Private Members | ||
private |
_id3Track: {"type": string, "id": *, "pid": *, "inputTimeScale": number, "sequenceNumber": *, "samples": *, "dropped": *} |
Method Summary
Public Methods | ||
public |
appendFrame(track: DemuxedAudioTrack, data: Uint8Array, offset: number) |
|
public |
canParse(data: Uint8Array, offset: number): boolean |
|
public |
demux(data: Uint8Array, timeOffset: number): DemuxerResult |
|
public |
demuxSampleAes(data: Uint8Array, decryptData: Uint8Array, timeOffset: number): Promise |
|
public |
destroy() |
|
public |
|
|
public |
|
|
public |
resetInitSegment(audioCodec: string, videoCodec: string, duration: number) |
|
public |
|
Public Constructors
public constructor() source
Public Methods
public appendFrame(track: DemuxedAudioTrack, data: Uint8Array, offset: number) source
Params:
Name | Type | Attribute | Description |
track | DemuxedAudioTrack | ||
data | Uint8Array | ||
offset | number |
public canParse(data: Uint8Array, offset: number): boolean source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
offset | number |
public demux(data: Uint8Array, timeOffset: number): DemuxerResult source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
timeOffset | number |
Return:
DemuxerResult |
public demuxSampleAes(data: Uint8Array, decryptData: Uint8Array, timeOffset: number): Promise source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
decryptData | Uint8Array | ||
timeOffset | number |
public destroy() source
public flush(timeOffset: number): DemuxerResult source
Params:
Name | Type | Attribute | Description |
timeOffset | number |
Return:
DemuxerResult |