BaseAudioDemuxer
Member Summary
Public Members | ||
public |
cachedData: * |
|
public |
|
|
public |
initPTS: * |
Private Members | ||
private |
_audioTrack: DemuxedAudioTrack |
|
private |
_id3Track: DemuxedMetadataTrack |
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, keyData: KeyData, timeOffset: number): Promise |
|
public |
destroy() |
|
public |
|
|
public |
|
|
public |
resetInitSegment(audioCodec: string, videoCodec: string, duration: number) |
|
public |
|
Public Members
public cachedData: * source
public initPTS: * source
Private Members
private _audioTrack: DemuxedAudioTrack source
private _id3Track: DemuxedMetadataTrack 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, keyData: KeyData, timeOffset: number): Promise source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
keyData | KeyData | ||
timeOffset | number |
public destroy() source
public flush(timeOffset: number): DemuxerResult source
Params:
Name | Type | Attribute | Description |
timeOffset | number |
Return:
DemuxerResult |