BaseAudioDemuxer
Member Summary
Public Members | ||
public |
basePTS: * |
|
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(initSegment: undefined, audioCodec: undefined, videoCodec: undefined, trackDuration: number) |
|
public |
resetTimeStamp(deaultTimestamp: undefined) |
Public Members
public basePTS: * source
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 |