1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4AddRtpImmediateData - Add immediate data to an RTP packet
7
9 #include <mp4.h>
10
11 bool MP4AddRtpImmediateData(
12 MP4FileHandle hFile,
13 MP4TrackId hintTrackId,
14 u_int8_t* pBytes,
15 u_int32_t numBytes
16 );
17
19 hFile Specifies the mp4 file to which the operation applies.
20
21 hintTrackId
22 Specifies the hint track to which the operation applies.
23
24 pBytes Specifies a pointer to the immediate data that should be
25 included in the current RTP packet.
26
27 numBytes
28 Specifies the length in bytes of the immediate data that should
29 be included in the current RTP packet.
30
32 Upon success, true (1). Upon an error, false (0).
33
35 MP4AddRtpImmediateData adds immediate data to the current pending RTP
36 packet. Typically, this is used to add RTP payload specific headers to
37 RTP packets. Note that the size of a block of immediate data is limited
38 to 14 bytes. But multiple immediate data blocks can be added if more
39 space is needed.
40
42 MP4(3) MP4AddRtpPacket (3) MP4AddRtpImmediateData (3)
43
44
45
46Cisco Systems Inc. Version 0.9 MP4(3)