From aed2d9de0a7edb974cea58e8fe0c3fe73ccb58f3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 2 Oct 2014 03:19:03 +0200 Subject: added command line switch to disable automatic client handling added some warnings for pointless configuration combinations --- src/udp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/udp.c') diff --git a/src/udp.c b/src/udp.c index d9133aa..719bb2f 100644 --- a/src/udp.c +++ b/src/udp.c @@ -212,6 +212,8 @@ gboolean attach_udpsinks(struct udp_sinks *sinks) if(!sinks) return FALSE; + log_printf(NOTICE, "enabling automatic client handling"); + if(!attach_udpsink(&(sinks->rtp_video_), "RTP(video) IPv4", "used-socket") || !attach_udpsink(&(sinks->rtp_video_), "RTP(video) IPv6", "used-socket-v6") || !attach_udpsink(&(sinks->rtcp_video_), "RTCP(video) IPv4", "used-socket") || @@ -230,6 +232,7 @@ gboolean attach_udpsinks(struct udp_sinks *sinks) return TRUE; } + static gboolean send_udpsrc_buf(GstElement* source, const char* name, GInetAddress* remote, guint port, u_int8_t* buf, size_t buflen) { GSocket *sock; -- cgit v1.2.3