From 4f0ef292f0a3b05a2a9e234c219d826998ce4bf9 Mon Sep 17 00:00:00 2001 From: Ognyan Tonchev Date: Wed, 10 Oct 2012 11:13:10 +0200 Subject: [PATCH] session: add ttl to the transport header in SETUP See https://bugzilla.gnome.org/show_bug.cgi?id=685561 --- gst/rtsp-server/rtsp-session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp-server/rtsp-session.c b/gst/rtsp-server/rtsp-session.c index de16415cb6..6bb71681d2 100644 --- a/gst/rtsp-server/rtsp-session.c +++ b/gst/rtsp-server/rtsp-session.c @@ -528,6 +528,7 @@ gst_rtsp_session_stream_set_transport (GstRTSPSessionStream * stream, case GST_RTSP_LOWER_TRANS_UDP_MCAST: ct->port = st->port = stream->media_stream->server_port; st->destination = g_strdup (ct->destination); + st->ttl = ct->ttl; break; case GST_RTSP_LOWER_TRANS_TCP: st->interleaved = ct->interleaved;