rtspsrc: fix ttl setting for udpsink[1]
Fix ttl setting being incorrectly applied to udpsink[0] rather than to udpsink[1]. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5955>
This commit is contained in:
parent
da55b953a1
commit
1d02d7eda0
@ -4846,7 +4846,7 @@ gst_rtspsrc_stream_configure_udp_sinks (GstRTSPSrc * src,
|
|||||||
g_object_set (G_OBJECT (stream->udpsink[1]), "multicast-iface",
|
g_object_set (G_OBJECT (stream->udpsink[1]), "multicast-iface",
|
||||||
src->multi_iface, NULL);
|
src->multi_iface, NULL);
|
||||||
if (ttl > 0)
|
if (ttl > 0)
|
||||||
g_object_set (G_OBJECT (stream->udpsink[0]), "ttl", ttl, NULL);
|
g_object_set (G_OBJECT (stream->udpsink[1]), "ttl", ttl, NULL);
|
||||||
|
|
||||||
if (stream->udpsrc[1]) {
|
if (stream->udpsrc[1]) {
|
||||||
/* configure socket, we give it the same UDP socket as the udpsrc for RTCP
|
/* configure socket, we give it the same UDP socket as the udpsrc for RTCP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user