rtpmanagerbad: do not set iface on sink
authorMarc Leeman <m.leeman@televic.com>
Thu, 17 Sep 2020 13:06:38 +0000 (15:06 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 1 Oct 2021 20:31:17 +0000 (20:31 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/994>

subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c
subprojects/gst-plugins-bad/tests/check/elements/rtpsrc.c

index c3103a8..0a2e600 100644 (file)
@@ -703,7 +703,6 @@ gst_rtp_src_start (GstRtpSrc * self)
 
     /* set multicast-iface on the udpsrc and udpsink elements */
     g_object_set (self->rtcp_src, "multicast-iface", self->multi_iface, NULL);
-    g_object_set (self->rtcp_sink, "multicast-iface", self->multi_iface, NULL);
     g_object_set (self->rtp_src, "multicast-iface", self->multi_iface, NULL);
   } else {
     /* In unicast, send RTCP to the detected sender address */
index 68a519b..3065a56 100644 (file)
@@ -28,7 +28,7 @@ GST_START_TEST (test_uri_to_properties)
 
   /* Sets properties to non-default values (make sure this stays in sync) */
   g_object_set (rtpsrc, "uri", "rtp://1.230.1.2:1234?"
-      "latency=300" "&ttl=8" "&ttl-mc=9", NULL);
+      "latency=300" "&ttl=8" "&ttl-mc=9" "&multicast-iface=dummy", NULL);
 
   g_object_get (rtpsrc,
       "latency", &latency, "ttl-mc", &ttl_mc, "ttl", &ttl, NULL);