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

NAME

6       MP4AddRtpSampleData - Add media sample data to an RTP packet
7

SYNTAX

9       #include <mp4.h>
10
11       bool MP4AddRtpSampleData(
12            MP4FileHandle hFile,
13            MP4TrackId hintTrackId,
14            MP4SampleId sampleId,
15            u_int32_t dataOffset,
16            u_int32_t dataLength
17       );
18

ARGUMENTS

20       hFile  Specifies the mp4 file to which the operation applies.
21
22       hintTrackId
23              Specifies the hint track to which the operation applies.
24
25       sampleId
26              Specifies  the  reference  media  sample id from which the media
27              data should be taken.
28
29       dataOffset
30              Specifies the byte offset in the specified  media  sample  where
31              data should be taken from for the current RTP packet.
32
33       dataLength
34              Specifies  the  length in bytes of the media data that should be
35              included in the current RTP packet.
36

RETURN VALUES

38       Upon success, true (1). Upon an error, false (0).
39

DESCRIPTION

41       MP4AddRtpSampleData adds a reference in the current pending RTP  packet
42       to  the media data in the specified media sample of the reference media
43       track. Note this is a reference, not a copy, of the media data.
44

SEE ALSO

46       MP4(3) MP4AddRtpPacket (3) MP4AddRtpImmediateData (3)
47
48
49
50Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum