1MP4(3)                      MP4 File Format Library                     MP4(3)
2
3
4

NAME

6       MP4AddRtpPacket - Add an RTP packet
7

SYNTAX

9       #include <mp4.h>
10
11       bool MP4AddRtpPacket(
12            MP4FileHandle hFile,
13            MP4TrackId trackId,
14            bool setMBit = false,
15            int32 transmitOffset = 0
16       );
17

ARGUMENTS

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       setMBit
25              Specifies the value of the RTP packet header marker bit for this
26              packet. The value depends on the rules of the RTP  payload  used
27              for this hint track.
28
29       transmitOffset
30              Specifies  an offset to apply to the normal transmission time of
31              this packet. The purpose of this offset is to allow smoothing of
32              packet transmission over the duration of the hint.
33

RETURN VALUES

35       Upon success, true (1). Upon an error, false (0).
36

DESCRIPTION

38       MP4AddRtpPacket  creates a new RTP packet for the currently pending RTP
39       hint sample for the specified hint track. It  also  enables  subsequent
40       calls  to  MP4AddRtpImmediateData() and MP4AddRtpSampleData to add data
41       to the RTP packets. After all the RTP packets for the  hint  have  been
42       created,  MP4WriteRtpHint()  should  be called to write the hint to the
43       track.
44

SEE ALSO

46       MP4(3) MP4AddRtpHint(3) MP4AddRtpImmediateData (3)  MP4AddRtpSampleData
47       (3) MP4WriteRtpHint (3)
48
49
50
51Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum