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

Sebastian Dröge sebastian at centricular.com
Mon Jan 25 10:05:52 PST 2016


On Mo, 2016-01-25 at 11:20 -0500, Kyle Pennington wrote:
> So the specific incident I provided is a VLC issue.
> 
> The other issue I have is that a client suddenly disconnection can
> cause other clients to disconnect or their streams to freeze.  Again,
> this only happens on a shared pipeline, but I've isolated the issue
> to be a shared pipeline with UDP as the only set transport.
> 
> 1) In gst-rtsp-server/examples/test-video.c, insert
> "gst_rtsp_media_factory_set_shared(factory, TRUE);" to line 136, and
> "gst_rtsp_media_factory_set_protocols(factory,
> GST_RTSP_LOWER_TRANS_UDP);" to line 137.
> 2) Recompile the gst-rtsp-server examples (navigate to root, and run
> make)
> 3) Navigate to the example directory, and run the "test-video" shell
> script
> 4) use ifconfig to get your eth0/wlan0 IP address
> 5) Run the following command in a new terminal: "gst-launch-1.0
> rtspsrc location=rtsp://<eth0/wlan0 IP address>:8554/test
> protocols=0x1 ! fakesink"
> 6) Open a VLC client, and connect to the localhost IP addres -
> rtsp://127.0.0.1:8554/test
> 7) In another terminal, execute the following command: "sudo ip link
> set <eth0/wlan0> down"
> 
> This should cause the VLC client to quickly freeze it's current
> stream.  The gst-launch-1.0 client will take some time before it
> disconnects, but during that time if you reconnect the VLC client to
> the localhost IP, the stream will continue.
> 
> In short, there appears to be an issue with how UDP handles multiple
> clients on a shared pipeline.  I don't experience these issues if I
> force TCP on the server, or if I set shared to false.

Can you add this additional information to
 https://bugzilla.gnome.org/show_bug.cgi?id=648463
? That way maybe this bug can be resurrected if someone has
the time to look into it :)

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160125/88c94ece/attachment.sig>


More information about the gstreamer-devel mailing list