session: add ttl to the transport header in SETUP
authorOgnyan Tonchev <ognyan.tonchev at axis.com>
Wed, 10 Oct 2012 09:13:10 +0000 (11:13 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 10 Oct 2012 09:13:58 +0000 (11:13 +0200)
See https://bugzilla.gnome.org/show_bug.cgi?id=685561

gst/rtsp-server/rtsp-session.c

index de16415..6bb7168 100644 (file)
@@ -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;