diff options
author | Ian <ian.arkver.dev@gmail.com> | 2016-05-18 16:48:44 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-05-19 11:57:33 +0300 |
commit | 178f2d6fe56668ccd5abdc749c79e04caaff2cfc (patch) | |
tree | 6cb1812c4ce2b6b6ae9293d1a6ac000faf67e305 /gst | |
parent | 2639fbdb7fa8894eb1c1a0c0f0ddde3e4d2c95b0 (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
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp-server/rtsp-session.c | 2 |
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); |