MP4Remuxer
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
config: * |
|
public |
|
|
public |
|
|
public |
nextAudioPts: * |
|
public |
nextAvcDts: * |
|
public |
observer: * |
|
public |
|
Private Members | ||
private |
_initDTS: * |
|
private |
_initPTS: * |
Method Summary
Public Methods | ||
public |
destroy() |
|
public |
generateIS(audioTrack: DemuxedAudioTrack, videoTrack: DemuxedAvcTrack, timeOffset: undefined): {"tracks": *, "initPTS": *, "timescale": *} |
|
public |
getVideoStartPts(videoSamples: undefined): * |
|
public |
remux(audioTrack: DemuxedAudioTrack, videoTrack: DemuxedAvcTrack, id3Track: DemuxedMetadataTrack, textTrack: DemuxedUserdataTrack, timeOffset: number, accurateTimeOffset: boolean, flush: boolean): RemuxerResult |
|
public |
remuxAudio(track: DemuxedAudioTrack, timeOffset: number, contiguous: boolean, accurateTimeOffset: boolean, videoTimeOffset: number): * |
|
public |
remuxEmptyAudio(track: DemuxedAudioTrack, timeOffset: number, contiguous: boolean, videoData: Fragment): * |
|
public |
|
|
public |
|
|
public |
remuxVideo(track: DemuxedAvcTrack, timeOffset: number, contiguous: boolean, audioTrackLength: number): * |
|
public |
|
|
public |
|
|
public |
resetTimeStamp(defaultTimeStamp: undefined) |
Public Constructors
public constructor() source
Public Members
public config: * source
public nextAudioPts: * source
public nextAvcDts: * source
public observer: * source
public typeSupported: * source
Private Members
private _initDTS: * source
private _initPTS: * source
Public Methods
public destroy() source
public generateIS(audioTrack: DemuxedAudioTrack, videoTrack: DemuxedAvcTrack, timeOffset: undefined): {"tracks": *, "initPTS": *, "timescale": *} source
Params:
Name | Type | Attribute | Description |
audioTrack | DemuxedAudioTrack | ||
videoTrack | DemuxedAvcTrack | ||
timeOffset | undefined |
Return:
{"tracks": *, "initPTS": *, "timescale": *} |
public getVideoStartPts(videoSamples: undefined): * source
Params:
Name | Type | Attribute | Description |
videoSamples | undefined |
Return:
* |
public remux(audioTrack: DemuxedAudioTrack, videoTrack: DemuxedAvcTrack, id3Track: DemuxedMetadataTrack, textTrack: DemuxedUserdataTrack, timeOffset: number, accurateTimeOffset: boolean, flush: boolean): RemuxerResult source
Return:
RemuxerResult |
public remuxAudio(track: DemuxedAudioTrack, timeOffset: number, contiguous: boolean, accurateTimeOffset: boolean, videoTimeOffset: number): * source
Return:
* |
public remuxEmptyAudio(track: DemuxedAudioTrack, timeOffset: number, contiguous: boolean, videoData: Fragment): * source
Return:
* |
public remuxID3(track: DemuxedMetadataTrack, timeOffset: number): {"samples": *} source
Params:
Name | Type | Attribute | Description |
track | DemuxedMetadataTrack | ||
timeOffset | number |
Return:
{"samples": *} |
public remuxText(track: DemuxedUserdataTrack, timeOffset: number): {"samples": *} source
Params:
Name | Type | Attribute | Description |
track | DemuxedUserdataTrack | ||
timeOffset | number |
Return:
{"samples": *} |
public remuxVideo(track: DemuxedAvcTrack, timeOffset: number, contiguous: boolean, audioTrackLength: number): * source
Return:
* |