blob: 81cfc79e0afa4b3b70bccc7a0869191bfc8e75bd [file] [log] [blame]
.TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library"
.SH "NAME"
.LP
\fBMP4AddRtpImmediateData\fR \- Add immediate data to an RTP packet
.SH "SYNTAX"
.LP
#include <mp4.h>
.LP
bool \fBMP4AddRtpImmediateData\fR(
.br
MP4FileHandle \fIhFile\fP,
.br
MP4TrackId \fIhintTrackId\fP,
.br
u_int8_t* \fIpBytes\fP,
.br
u_int32_t \fInumBytes\fP
.br
);
.SH "ARGUMENTS"
.LP
.TP
\fIhFile\fP
Specifies the mp4 file to which the operation applies.
.TP
\fIhintTrackId\fP
Specifies the hint track to which the operation applies.
.TP
\fIpBytes\fP
Specifies a pointer to the immediate data that should be included in the current RTP packet.
.TP
\fInumBytes\fP
Specifies the length in bytes of the immediate data that should be included in the current RTP packet.
.SH "RETURN VALUES"
.LP
Upon success, true (1). Upon an error, false (0).
.SH "DESCRIPTION"
.LP
\fBMP4AddRtpImmediateData\fR adds immediate data to the current pending RTP packet. Typically, this is used to add RTP payload specific headers to RTP packets. Note that the size of a block of immediate data is limited to 14 bytes. But multiple immediate data blocks can be added if more space is needed.
.SH "SEE ALSO"
.LP
MP4(3) MP4AddRtpPacket (3) MP4AddRtpImmediateData (3)