MP4AddRtpHint man page

MP4AddRtpHint — Add an RTP hint

Syntax

#include <mp4.h>

bool MP4AddRtpHint(
MP4FileHandle hFile,
MP4TrackId trackId
);

Arguments

hFile
Specifies the mp4 file to which the operation applies.
trackId
Specifies the hint track to which the operation applies.

Return Values

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

Description

MP4AddRtpHint creates a new hint sample for the specified hint track and enables subsequent calls to MP4AddRtpPacket() to create the RTP packets associated with this hint. After all the RTP packets for the hint have been created, MP4WriteRtpHint() should be called to write the hint to the track.

See Also

MP4(3) MP4AddRtpPacket(3) MP4WriteRtpHint (3)

Referenced By

MP4AddRtpPacket(3), MP4AddRtpVideoHint(3), MP4GetRtpPacketBFrame(3), MP4WriteRtpHint(3).

Version 0.9 Cisco Systems Inc. MP4 File Format Library