Questions about buffer's timestamp in RTP application

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Dec 12 06:32:30 PST 2012


On Wed, 2012-12-12 at 21:14 +0800, cee1 wrote:

> * Receiver:
> gst-launch-0.10 udpsrc
> caps="application/x-rtp,media=(string)video,clock-rate=(int)90000" !
> rtph264depay ! ffdec_h264 ! autovideosink
> 
> Went through the source, I found rtph264depay doesn't use RTP
> timestamp and -- It seems the gstbuffer's timestamp is packet's
> received time, so
> 1. What  does RTP timestamp do ?
> 2. How does the receiver play properly? I mean without new segment
> event and gstbuffer's timestamp, how can the receiver play it at a
> proper rate(e.g. 24FPS) ?

You should add a jitterbuffer between udpsrc and the payloader. The
jitterbuffer will deal with the capture (udpsrc) timestamps and the RTP
timestamps.

 Cheers
  -Tim



More information about the gstreamer-devel mailing list