MP4SetRtpTimestampStart - Man Page

Set the RTP start time of a hint track

Syntax

#include <mp4.h>

bool MP4SetRtpTimestampStart(
MP4FileHandle hFile,
MP4TrackId hintTrackId,
MP4Timestamp startTime
);

Arguments

hFile

Specifies the mp4 file to which the operation applies.

trackId

Specifies the hint track to which the operation applies.

startTime

Specifies the desired RTP start timestamp for the hint track.

Return Values

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

Description

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

MP4GetRtpTimestampStart(3).

Version 0.9 Cisco Systems Inc. MP4 File Format Library