From 178f2d6fe56668ccd5abdc749c79e04caaff2cfc Mon Sep 17 00:00:00 2001 From: Ian Date: Wed, 18 May 2016 16:48:44 +0100 Subject: [PATCH] rtsp-session: RFC2326 does not allow a space between ; and timeout in the Session header This works with rtspsrc and live555, but fails with e.g. ffmpeg. https://bugzilla.gnome.org/show_bug.cgi?id=766619 --- gst/rtsp-server/rtsp-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-session.c b/gst/rtsp-server/rtsp-session.c index 052537e740..10f5648020 100644 --- a/gst/rtsp-server/rtsp-session.c +++ b/gst/rtsp-server/rtsp-session.c @@ -488,7 +488,7 @@ gst_rtsp_session_get_header (GstRTSPSession * session) g_mutex_lock (&priv->lock); if (priv->timeout_always_visible || priv->timeout != 60) - result = g_strdup_printf ("%s; timeout=%d", priv->sessionid, priv->timeout); + result = g_strdup_printf ("%s;timeout=%d", priv->sessionid, priv->timeout); else result = g_strdup (priv->sessionid); g_mutex_unlock (&priv->lock);