[FFmpeg-devel] [PATCH] rtpdec: Emit timestamps for packets before the first RTCP packet, too

Josh Allmann joshua.allmann
Tue Dec 28 01:55:52 CET 2010

Hi Martin,

On 27 December 2010 00:48, Martin Storsjo <martin at martin.st> wrote:
> Timestamps in each stream start from 0, for the first received
> RTP packet. Once an RTCP packet is received, that one is used for
> sync, emitting timestamps that fit seamlessly into the earlier ones.

Just a small comment: RTP timestamps do not necessarily start from
zero (RFC 3550, section 5.1: "The initial value of the timestamp
SHOULD be random") and the RTCP wallclock is used for syncing between
streams that otherwise have different starting timestamps.

I am not familiar enough with that particular piece of code to make
judgements about the patch, though.


More information about the ffmpeg-devel mailing list