session: add ttl to the transport header in SETUP

See https://bugzilla.gnome.org/show_bug.cgi?id=685561
This commit is contained in:
Ognyan Tonchev 2012-10-10 11:13:10 +02:00 committed by Wim Taymans
parent d581b7bd4e
commit 4f0ef292f0

View file

@ -528,6 +528,7 @@ gst_rtsp_session_stream_set_transport (GstRTSPSessionStream * stream,
case GST_RTSP_LOWER_TRANS_UDP_MCAST: case GST_RTSP_LOWER_TRANS_UDP_MCAST:
ct->port = st->port = stream->media_stream->server_port; ct->port = st->port = stream->media_stream->server_port;
st->destination = g_strdup (ct->destination); st->destination = g_strdup (ct->destination);
st->ttl = ct->ttl;
break; break;
case GST_RTSP_LOWER_TRANS_TCP: case GST_RTSP_LOWER_TRANS_TCP:
st->interleaved = ct->interleaved; st->interleaved = ct->interleaved;