[Bug 765132] rtsp-server crash after last client is disconnected when media is shared

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 16 06:48:26 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765132

--- Comment #2 from Aleix Conchillo FlaquƩ <aconchillo at gmail.com> ---
I believe the problem is that because the media is shared, new udpsrc ports are
allocated in the same stream:

https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/gst/rtsp-server/rtsp-stream.c#n1514

Then, when we leave the bin we are only setting the NULL state to udpsrc_v4[0]
and udpsrc_v4[1].

https://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/gst/rtsp-server/rtsp-stream.c#n2938

But unfortunately we have lost the reference to the previous ones when the
media is shared and there already was a first client

Before this patch I believe we were keeping a list of all the transports.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list