diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-02 03:19:03 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-02 03:19:15 +0200 |
commit | aed2d9de0a7edb974cea58e8fe0c3fe73ccb58f3 (patch) | |
tree | 2127f0049f082333ffc2edcc7ece16b671253e47 /src/udp.c | |
parent | fixed 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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |