1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetHintTrackRtpPayload - Get the RTP payload parameters of the hint
7 track
8
10 #include <mp4.h>
11
12 bool MP4GetHintTrackRtpPayload(
13 MP4FileHandle hFile,
14 MP4TrackId hintTrackId,
15 char** ppPayloadName = NULL,
16 u_int8_t* pPayloadNumber = NULL,
17 u_int16_t* pMaxPayloadSize = NULL
18 )
19
21 hFile Specifies the mp4 file to which the operation applies.
22
23 hintTrackId
24 Specifies the hint track to which the operation applies.
25
26 ppPayloadName
27 Specifies a pointer to the variable to receive the string RTP
28 payload name.
29
30 pPayloadNumber
31 Specifies a pointer to the variable to receive the RTP payload
32 number.
33
34 pMaxPayloadSize
35 Specifies a pointer to the variable to receive the maximum RTP
36 payload size in bytes.
37
39 Upon success, true (1). Upon an error, false (0).
40
42 MP4GetHintTrackRtpPayload gets the RTP payload parameters for the hint
43 track. The RTP payload is the set of rules by which media samples are
44 packed into RTP packets. This call is typically used in constructing
45 the SDP media level description for the hint track.
46
47 The payloadName identifies which RTP payload is being used for the RTP
48 packets created from the hint track. This value is sent to the receiver
49 in the SDP description. For example, MP3 audio sent according to the
50 rules in IETF RFC 2250 uses the name "MPA" for the RTP payload.
51
52 The payloadNumber is a shorter form of the payloadName. This value is
53 associated with the payload name in the SDP description and then sent
54 in every RTP packet. Payload numbers 1 thru 95 are statically assigned
55 in IETF RFC 1890, numbers 96 thru 127 are dynamically assigned within a
56 session.
57
58 The maxPayloadSize specifies the maximum number of bytes that should be
59 placed in the RTP payload section of the RTP packets.
60
62 MP4(3) MP4SetHintTrackPayload(3)
63
64
65
66Cisco Systems Inc. Version 0.9 MP4(3)