mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
rtsp-stream: Disable multicast loopback for the multicast udp sources too
On POSIX this setting is for sender sockets, on Windows for receiver sockets. Previously we were only setting this for sender sockets, which caused looped back packets to be received on Windows if a multicast transport was used.
This commit is contained in:
parent
52fb304ac9
commit
cdc0849dfe
1 changed files with 1 additions and 0 deletions
|
@ -2863,6 +2863,7 @@ update_transport (GstRTSPStream * stream, GstRTSPStreamTransport * trans,
|
|||
source->udpsrc[i] =
|
||||
gst_element_make_from_uri (GST_URI_SRC, host, NULL, NULL);
|
||||
g_free (host);
|
||||
g_object_set (source->udpsrc[i], "loop", FALSE, NULL);
|
||||
|
||||
if (priv->srcpad) {
|
||||
/* we set and keep these to playing so that they don't cause NO_PREROLL return
|
||||
|
|
Loading…
Reference in a new issue