summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan <ian.arkver.dev@gmail.com>2016-05-18 16:48:44 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-05-19 11:57:33 +0300
commit178f2d6fe56668ccd5abdc749c79e04caaff2cfc (patch)
tree6cb1812c4ce2b6b6ae9293d1a6ac000faf67e305
parent2639fbdb7fa8894eb1c1a0c0f0ddde3e4d2c95b0 (diff)
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
-rw-r--r--gst/rtsp-server/rtsp-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-session.c b/gst/rtsp-server/rtsp-session.c
index 052537e..10f5648 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);