diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index dad251fc3d..e42cbb29a8 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -5012,6 +5012,11 @@ gst_rtsp_media_complete_pipeline (GstRTSPMedia * media, GPtrArray * transports) g_mutex_unlock (&priv->lock); return FALSE; } + + if (!gst_rtsp_stream_add_transport (stream, transport)) { + g_mutex_unlock (&priv->lock); + return FALSE; + } } priv->complete = TRUE;