PassThroughRemuxer
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
audioCodec: * |
|
public |
|
|
public |
initData: * |
|
public |
initPTS: * |
|
public |
initTracks: * |
|
public |
lastEndDTS: * |
|
public |
videoCodec: * |
Method Summary
Public Methods | ||
public |
destroy() |
|
public |
generateInitSegment(initSegment: Uint8Array) |
|
public |
remux(audioTrack: DemuxedAudioTrack, videoTrack: PassthroughVideoTrack, id3Track: DemuxedTrack, textTrack: DemuxedTrack, timeOffset: number): RemuxerResult |
|
public |
resetInitSegment(initSegment: Uint8Array, audioCodec: undefined, videoCodec: undefined) |
|
public |
|
|
public |
resetTimeStamp(defaultInitPTS: undefined) |
Public Constructors
public constructor() source
Public Members
public audioCodec: * source
public initData: * source
public initPTS: * source
public initTracks: * source
public lastEndDTS: * source
public videoCodec: * source
Public Methods
public destroy() source
public generateInitSegment(initSegment: Uint8Array) source
Params:
Name | Type | Attribute | Description |
initSegment | Uint8Array |
public remux(audioTrack: DemuxedAudioTrack, videoTrack: PassthroughVideoTrack, id3Track: DemuxedTrack, textTrack: DemuxedTrack, timeOffset: number): RemuxerResult source
Params:
Name | Type | Attribute | Description |
audioTrack | DemuxedAudioTrack | ||
videoTrack | PassthroughVideoTrack | ||
id3Track | DemuxedTrack | ||
textTrack | DemuxedTrack | ||
timeOffset | number |
Return:
RemuxerResult |
public resetInitSegment(initSegment: Uint8Array, audioCodec: undefined, videoCodec: undefined) source
Params:
Name | Type | Attribute | Description |
initSegment | Uint8Array | ||
audioCodec | undefined | ||
videoCodec | undefined |