GNOME Bugzilla – Bug 760150
Updating transport for multicast case gives assertion
Last modified: 2016-01-07 12:32:45 UTC
With new update of RTSP Server, we only add RTP sending/receiving pad if needed. But while trying to update the transport during create media for multicast case, gives a assert. In the function update_transport() in rtsp-stream.c, we try to get the parent of funnel (0) element, but that element doesn't exist sometimes. This is a regression from a earlier commit (SHA1: 61772cb rtsp-stream: Only create RTP sending/receiving rtpbin pads if needed).
Testing my fix, soon provide a patch for it.
Created attachment 318413 [details] [review] Fixed assert for multi cast
commit fdbda049c65e7d1cd87098cac926ab6a5f04f5aa Author: Srimanta Panda <srimanta@axis.com> Date: Tue Jan 5 13:10:36 2016 +0100 rtsp-stream: fixed assert during update transport When RTSP server trying update transport during multicast, it throws an assert. The assert is thrown because it is trying to get the parent of an non-existing funnel element. https://bugzilla.gnome.org/show_bug.cgi?id=760150