MP4WriteRtpHint - Man Page

Write an RTP hint

Syntax

#include <mp4.h>

bool MP4WriteRtpHint(
MP4FileHandle hFile,
MP4TrackId trackId,
MP4Duration duration,
bool isSyncSample = true
);

Arguments

hFile

Specifies the mp4 file to which the operation applies.

trackId

Specifies the hint track to which the operation applies.

duration

The duration for this hint sample. Typically this is the same duration as for the corresponding sample in the reference media track. Caveat: The duration should be in the hint track timescale units, again typically the same as the reference media track.

isSyncSample

The sync/random access flag for this sample. Typically this is the same as for the corresponding sample in the reference media track.

Return Values

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

Description

MP4WriteRtpHint writes the current pending hint created with MP4AddRtpHint() to the specified hint track.

See Also

MP4(3) MP4AddRtpHint (3)

Referenced By

MP4AddRtpHint(3), MP4AddRtpPacket(3), MP4AddRtpVideoHint(3).

Version 0.9 Cisco Systems Inc. MP4 File Format Library