MP4Remuxer
Constructor Summary
| Public Constructor | ||
| public | 
      
       | 
    |
Member Summary
| Public Members | ||
| public | 
      
       | 
    |
| public | 
       config: *  | 
    |
| 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: *): *  | 
    |
| public | 
      
       | 
    |
| public | 
       resetTimeStamp(defaultTimeStamp: *)  | 
    |
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: *, 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: *): * source
Params:
| Name | Type | Attribute | Description | 
| track | * | ||
| timeOffset | * | ||
| contiguous | * | ||
| audioTrackLength | * | 
Return:
| * | 
public resetInitSegment() source
public resetTimeStamp(defaultTimeStamp: *) source
Params:
| Name | Type | Attribute | Description | 
| defaultTimeStamp | * | 
    
  