MP4
Static Method Summary
Static Public Methods | ||
public static |
avc1(track: *): * |
|
public static |
box(type: *): * |
|
public static |
esds(track: *): * |
|
public static |
hdlr(type: *): * |
|
public static |
init() |
|
public static |
initSegment(tracks: *): * |
|
public static |
mdat(data: *): * |
|
public static |
mdhd(timescale: *, duration: *): * |
|
public static |
mdia(track: *): * |
|
public static |
mfhd(sequenceNumber: *): * |
|
public static |
minf(track: *): * |
|
public static |
moof(sn: *, baseMediaDecodeTime: *, track: *): * |
|
public static |
moov(): * |
|
public static |
mp3(track: *): * |
|
public static |
mp4a(track: *): * |
|
public static |
mvex(tracks: *): * |
|
public static |
mvhd(timescale: *, duration: *): * |
|
public static |
sdtp(track: *): * |
|
public static |
stbl(track: *): * |
|
public static |
stsd(track: *): * |
|
public static |
tkhd(track: *): * |
|
public static |
traf(track: *, baseMediaDecodeTime: *): * |
|
public static |
trak(track: *): Uint8Array Generate a track box. |
|
public static |
trex(track: *): * |
|
public static |
trun(track: *, offset: *): * |
Static Public Methods
public static init() source
public static initSegment(tracks: *): * source
Params:
Name | Type | Attribute | Description |
tracks | * |
Return:
* |
public static mdhd(timescale: *, duration: *): * source
Params:
Name | Type | Attribute | Description |
timescale | * | ||
duration | * |
Return:
* |
public static mfhd(sequenceNumber: *): * source
Params:
Name | Type | Attribute | Description |
sequenceNumber | * |
Return:
* |
public static moof(sn: *, baseMediaDecodeTime: *, track: *): * source
Params:
Name | Type | Attribute | Description |
sn | * | ||
baseMediaDecodeTime | * | ||
track | * |
Return:
* |
public static moov(): * source
Params:
Name | Type | Attribute | Description |
tracks... | * | (optional) {array} the tracks associated with this movie |
Return:
* |
public static mvhd(timescale: *, duration: *): * source
Params:
Name | Type | Attribute | Description |
timescale | * | ||
duration | * |
Return:
* |
public static traf(track: *, baseMediaDecodeTime: *): * source
Params:
Name | Type | Attribute | Description |
track | * | ||
baseMediaDecodeTime | * |
Return:
* |
public static trak(track: *): Uint8Array source
Generate a track box.
Params:
Name | Type | Attribute | Description |
track | * | {object} a track definition |
public static trun(track: *, offset: *): * source
Params:
Name | Type | Attribute | Description |
track | * | ||
offset | * |
Return:
* |