1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4WriteRtpHint - Write an RTP hint
7
9 #include <mp4.h>
10
11 bool MP4WriteRtpHint(
12 MP4FileHandle hFile,
13 MP4TrackId trackId,
14 MP4Duration duration,
15 bool isSyncSample = true
16 );
17
19 hFile Specifies the mp4 file to which the operation applies.
20
21 trackId
22 Specifies the hint track to which the operation applies.
23
24 duration
25 The duration for this hint sample. Typically this is the same
26 duration as for the corresponding sample in the reference media
27 track. Caveat: The duration should be in the hint track
28 timescale units, again typically the same as the reference media
29 track.
30
31 isSyncSample
32 The sync/random access flag for this sample. Typically this is
33 the same as for the corresponding sample in the reference media
34 track.
35
37 Upon success, true (1). Upon an error, false (0).
38
40 MP4WriteRtpHint writes the current pending hint created with MP4AddRtâ
41 pHint() to the specified hint track.
42
43
45 MP4(3) MP4AddRtpHint (3)
46
47
48
49Cisco Systems Inc. Version 0.9 MP4(3)