MP4SetRtpTimestampStart man page

MP4SetRtpTimestampStart — Set the RTP start time of a hint track


#include <mp4.h>

bool MP4SetRtpTimestampStart(
MP4FileHandle hFile,
MP4TrackId hintTrackId,
MP4Timestamp startTime


Specifies the mp4 file to which the operation applies.
Specifies the hint track to which the operation applies.
Specifies the desired RTP start timestamp for the hint track.

Return Values

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


MP4SetRtpTimestampStart sets the RTP timestamp start of the specified hint track. Typically this is a random value that is chosen when the first RTP packet is constructed by the MP4 library. However the value can be set explicitly for the hint track and stored. Typically this is used if it is desired that timestamps start at zero.

See IETF RFC 1889 for details regarding RTP timestamps and RTCP.

See Also

MP4(3) MP4GetRtpTimestampStart(3)

Referenced By


Version 0.9 Cisco Systems Inc. MP4 File Format Library