Revert "rtsp-stream: avoid duplicating the first multicast client"
authorSebastian Dröge <sebastian@centricular.com>
Tue, 14 Aug 2018 11:25:53 +0000 (14:25 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 14 Aug 2018 11:25:53 +0000 (14:25 +0300)
This reverts commit 33570944401747f44d8ebfec535350651413fb92.

Commits where accidentially squashed together

gst/rtsp-server/rtsp-stream.c

index b95ead9..3439ea3 100644 (file)
@@ -1157,6 +1157,8 @@ set_multicast_socket_for_udpsink (GstElement * udpsink, GSocket * socket,
     GST_INFO ("setting ttl-mc %d", mcast_ttl);
     g_object_set (G_OBJECT (udpsink), "ttl-mc", mcast_ttl, NULL);
   }
+
+  g_signal_emit_by_name (udpsink, "add", addr_str, port, NULL);
 }