GNOME Bugzilla – Bug 712776
gst-rtsp-server: remove transports if media is in error status
Last modified: 2014-02-25 22:28:40 UTC
If media is prepared and then set with the error status (e.g. udpsrc internal error), the media streams won't be able to leave the bin if transports have not been previously removed. I've hit this by having an srtpbin (hopefully to be shared soon) instead of an rtpbin and no decoders in the client side (which obviously generates all kind of errors there too).
Created attachment 260397 [details] [review] remove transports when media in error status This patch removes the transports if media is in error status and media is changing to NULL state.
Created attachment 260398 [details] [review] remove transports when media in error status Sorry, this one instead. Forgot to remove reference to the srtpbin.
commit b6d4a29d75b5a7bc8debe796b4092e55664b638b Author: Aleix Conchillo Flaque <aleix@oblong.com> Date: Wed Nov 20 15:51:54 2013 -0800 rtsp-media: remove transports if media is in error status * gst/rtsp-server/rtsp-media.c (gst_rtsp_media_set_state): if we are trying to change to GST_STATE_NULL and media is in error status, we remove all transports. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712776