[Bug 773532] The segfault happens when many clients work with rtsp server with GST_RTSP_LOWER_TRANS_TCP option on.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 31 17:52:35 UTC 2016


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

--- Comment #6 from Kseniya Vasilchuk <vasilchukkseniia at gmail.com> ---
Created attachment 338835
  --> https://bugzilla.gnome.org/attachment.cgi?id=338835&action=edit
remove callbacks in client finalizing function and protect it by mutex

I thought that GstRTSPStreamTransport could be shared somehow between clients,
because we have shared media, so that the reason why I've tried to not use
mutex on it.
But I found that there is just one GstRTSPSessionMedia for client, which keeps
transports, so solution with mutex should work fast enough.

Ok. Looks like it is the best solution for now.

Please review the new patch.
I've removed callbacks in client finalizing function and protected it by mutex
inside GstRTSPStreamTransport.

-- 
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