summaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-02 03:19:03 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-02 03:19:15 +0200
commitaed2d9de0a7edb974cea58e8fe0c3fe73ccb58f3 (patch)
tree2127f0049f082333ffc2edcc7ece16b671253e47 /src/udp.c
parentfixed error output (diff)
added command line switch to disable automatic client handling
added some warnings for pointless configuration combinations
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c3
1 files changed, 3 insertions, 0 deletions
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;