gstreamer rtsp server - shared pipeline freezes on client connect and during connection timeout

Kyle Pennington clowd81 at gmail.com
Thu Jan 14 10:30:24 PST 2016


I've been having some issues lately with my RTSP server streams freezing
when a new client connects or when a client's network connection is
dropped.  These two interactions cause the stream to freeze for all
connected clients.  I have a shared pipeline, configured with
gst_rtsp_media_factory_set_shared(factory, true);.

>From what I understand, this should force all clients to use the same
pipeline, and actions of one to influence the rest (seeking, etc.).
However, this is not the behavior I am seeing.  This type of behavior
should never interfere with the streams of other clients.

I am able to recreate this by setting the shared property on the media
factory in the "test-video" example bundled with the RTSP server.  I
connect to the example server using two separate VLC clients on the same
PC.  When I do this, the first client's stream freezes while waiting for
the other client to finish it's initial buffering.

I came across this bug on bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=648463, but I'm not sure if it's
related and it is back from 2011-2013.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160114/b133c00d/attachment.html>


More information about the gstreamer-devel mailing list