MP4Remuxer
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
config: * |
|
| public |
isSafari: * |
|
| public |
nextAudioPts: * |
|
| public |
nextAvcDts: * |
|
| public |
observer: * |
|
| public |
|
|
| Private Members | ||
| private |
_initDTS: * |
|
| private |
_initPTS: * |
|
Method Summary
| Public Methods | ||
| public |
destroy() |
|
| public |
generateIS(audioTrack: *, videoTrack: *, timeOffset: *) |
|
| public |
remux(audioTrack: *, videoTrack: *, id3Track: *, textTrack: *, timeOffset: *, contiguous: *, accurateTimeOffset: *) |
|
| public |
remuxAudio(track: *, timeOffset: *, contiguous: *, accurateTimeOffset: *): * |
|
| public |
remuxEmptyAudio(track: *, timeOffset: *, contiguous: *, videoData: *) |
|
| public |
remuxID3(track: *) |
|
| public |
remuxText(track: *) |
|
| public |
remuxVideo(track: *, timeOffset: *, contiguous: *, audioTrackLength: *, accurateTimeOffset: *): * |
|
| public |
|
|
| public |
resetTimeStamp(defaultTimeStamp: *) |
|
| Private Methods | ||
| private |
_PTSNormalize(value: *, reference: *): * |
|
Public Constructors
public constructor() source
Public Members
public config: * source
public isSafari: * 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: *, videoTrack: *, timeOffset: *) source
Params:
| Name | Type | Attribute | Description |
| audioTrack | * | ||
| videoTrack | * | ||
| timeOffset | * |
public remux(audioTrack: *, videoTrack: *, id3Track: *, textTrack: *, timeOffset: *, contiguous: *, accurateTimeOffset: *) source
Params:
| Name | Type | Attribute | Description |
| audioTrack | * | ||
| videoTrack | * | ||
| id3Track | * | ||
| textTrack | * | ||
| timeOffset | * | ||
| contiguous | * | ||
| accurateTimeOffset | * |
public remuxAudio(track: *, timeOffset: *, contiguous: *, accurateTimeOffset: *): * source
Params:
| Name | Type | Attribute | Description |
| track | * | ||
| timeOffset | * | ||
| contiguous | * | ||
| accurateTimeOffset | * |
Return:
| * |
public remuxEmptyAudio(track: *, timeOffset: *, contiguous: *, videoData: *) source
Params:
| Name | Type | Attribute | Description |
| track | * | ||
| timeOffset | * | ||
| contiguous | * | ||
| videoData | * |
public remuxID3(track: *) source
Params:
| Name | Type | Attribute | Description |
| track | * |
public remuxText(track: *) source
Params:
| Name | Type | Attribute | Description |
| track | * |
public remuxVideo(track: *, timeOffset: *, contiguous: *, audioTrackLength: *, accurateTimeOffset: *): * source
Params:
| Name | Type | Attribute | Description |
| track | * | ||
| timeOffset | * | ||
| contiguous | * | ||
| audioTrackLength | * | ||
| accurateTimeOffset | * |
Return:
| * |
public resetInitSegment() source
public resetTimeStamp(defaultTimeStamp: *) source
Params:
| Name | Type | Attribute | Description |
| defaultTimeStamp | * |
Private Methods
private _PTSNormalize(value: *, reference: *): * source
Params:
| Name | Type | Attribute | Description |
| value | * | ||
| reference | * |
Return:
| * |
