mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:26:14 +00:00
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
This commit is contained in:
parent
2639fbdb7f
commit
178f2d6fe5
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ gst_rtsp_session_get_header (GstRTSPSession * session)
|
||||||
|
|
||||||
g_mutex_lock (&priv->lock);
|
g_mutex_lock (&priv->lock);
|
||||||
if (priv->timeout_always_visible || priv->timeout != 60)
|
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
|
else
|
||||||
result = g_strdup (priv->sessionid);
|
result = g_strdup (priv->sessionid);
|
||||||
g_mutex_unlock (&priv->lock);
|
g_mutex_unlock (&priv->lock);
|
||||||
|
|
Loading…
Reference in a new issue