MP4AddRtpImmediateData man page

MP4AddRtpImmediateData — Add immediate data to an RTP packet

Syntax

#include <mp4.h>

bool MP4AddRtpImmediateData(
MP4FileHandle hFile,
MP4TrackId hintTrackId,
u_int8_t* pBytes,
u_int32_t numBytes
);

Arguments

hFile
Specifies the mp4 file to which the operation applies.
hintTrackId
Specifies the hint track to which the operation applies.
pBytes
Specifies a pointer to the immediate data that should be included in the current RTP packet.
numBytes
Specifies the length in bytes of the immediate data that should be included in the current RTP packet.

Return Values

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

Description

MP4AddRtpImmediateData 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.

See Also

MP4(3) MP4AddRtpPacket (3) MP4AddRtpImmediateData (3)

Referenced By

MP4AddRtpPacket(3), MP4AddRtpSampleData(3).

Version 0.9 Cisco Systems Inc. MP4 File Format Library