rtsp-server has high latency

Tim Müller tim at centricular.com
Wed Sep 28 07:38:23 UTC 2016


On Tue, 2016-09-27 at 15:54 -0700, jlancaster wrote:

Hi Jeff,

> I am on an embedded system with a built in camera streaming through
> v4l2. If I set my stream using (snip pipeline) I can stream it to my
> desktop with very low latency. 
> 
> If I use the gstreamer-1.0 rtsp-server (snip pipeline) and stream to
> my own display:
> 
> gst-launch-1.0 -v rtspsrc location=rtsp://localhost:5000/test !
> rtph264depay ! h264parse ! imxvpudec ! imxipuvideosink
> 
> My latency is 2+ seconds.
> 
> Any thoughts?

It's not gst-rtsp-server that has high latency, it's rtspsrc which
contains an rtp jitterbuffer that defaults to 2 seconds latency
(2000ms). Try with e.g. rtspsrc latency=200 or whatever.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
10-11 October 2016 in Berlin,
Germany
http://gstreamer.freedesktop.org/conference/



More information about the gstreamer-devel mailing list