1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4AddHintTrack - Add a hint track
7
9 #include <mp4.h>
10
11 MP4TrackId MP4AddHintTrack(
12 MP4FileHandle hFile,
13 MP4TrackId refTrackId
14 )
15
17 hFile Specifies the mp4 file to which the operation applies.
18
19 refTrackId
20 Specifies the reference media track for this hint track.
21
23 Upon success, the track id of the new track. Upon an error,
24 MP4_INVALID_TRACK_ID.
25
26
28 MP4AddHintTrack adds a hint track to the mp4 file. A hint track is used
29 to describe how to send the reference media track over a particular
30 network transport. In the case of the IETF RTP protocol, the hint track
31 describes how the media data should be placed into packets and any
32 media specific protocol headers that should be added.
33
34 Typically there is a one to one correspondence between reference media
35 track samples and hint track samples. The start time, duration, and
36 sync flags are typically the same, however provisions are made for
37 deviations from this rule.
38
39 The MP4 library provides extensive support for RTP hint tracks. This
40 includes a easy to use API to create RTP hint tracks, and read out
41 fully constructed RTP packets based on the hint track.
42
43
45 MP4(3)
46
47
48
49Cisco Systems Inc. Version 0.9 MP4(3)