gstreamer rtsp server - shared pipeline freezes on client connect and during connection timeout
Kyle Pennington
clowd81 at gmail.com
Mon Jan 25 10:14:48 PST 2016
I started a new bug at https://bugzilla.gnome.org/show_bug.cgi?id=761100
since I believe that they are unrelated at the moment. I will add this
information there as well.
On Mon, Jan 25, 2016 at 1:05 PM, Sebastian Dröge <sebastian at centricular.com>
wrote:
> 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
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160125/a7ddc53b/attachment.html>
More information about the gstreamer-devel
mailing list