MP4GetRtpPacketTransmitOffset - Man Page

Get the transmit offset of an RTP packet

Syntax

#include <mp4.h>

int32_t MP4GetRtpPacketTransmitOffset(
MP4FileHandle hFile,
MP4TrackId hintTrackId,
u_int16_t packetIndex
)

Arguments

hFile

Specifies the mp4 file to which the operation applies.

hintTrackId

Specifies the hint track to which the operation applies.

packetIndex

Specifies the packet to which the operation applies.

Return Values

The transmit offset for the specified packet in the hint track timescale.

Description

MP4GetRtpPacketTransmitOffset returns the transmit offset of an RTP packet. This offset may be set by some hinters to smooth out the packet transmission times and reduce network burstiness. A transmitter would need to apply this offset to the calculated transmission time based on the hint start time.

See Also

MP4(3) MP4AddRtpPacket(3) MP4ReadRtpPacket(3)

Info

Version 0.9 Cisco Systems Inc. MP4 File Format Library