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

NAME

6       MP4ReadRtpHint - Read an RTP hint
7

SYNTAX

9       #include <mp4.h>
10
11       bool MP4ReadRtpHint(
12            MP4FileHandle hFile,
13            MP4TrackId trackId,
14            MP4SampleId sampleId,
15            u_int16_t* pNumPackets = NULL
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       sampleId
25              Specifies  which  hint  sample  is to be read. Caveat: the first
26              sample has id 1 not 0.
27
28       pNumPackets
29              Pointer to variable that will be hold the number of  packets  in
30              the hint.
31

RETURN VALUES

33       Upon success, true (1). Upon an error, false (0).
34

DESCRIPTION

36       MP4ReadRtpHint  reads the specified hint sample from the specified hint
37       track and enables subsequent calls to MP4ReadRtpPacket()  to  read  the
38       individual  RTP packets associated with this hint. If desired, the num‐
39       ber of RTP packets associated with this hint is returned.
40
41       Note that a hint track sample is just like any other track sample.  I.e
42       MP4ReadSample(),  MP4GetSampleSize(),  MP4GetSampleTime(), etc. are all
43       valid. The RTP specific functions are provided to interpret the  infor‐
44       mation  contain in the hint track samples that give instructions on how
45       to form the actual RTP packets.
46

SEE ALSO

48       MP4(3) MP4ReadRtpPacket(3)
49
50
51
52Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum