From be982f880df6388bd00386b2cae8c318f902f1b2 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 24 Sep 2014 23:34:21 +0200 Subject: moved pipeline creation subs to own file --- src/datatypes.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/datatypes.h') diff --git a/src/datatypes.h b/src/datatypes.h index 6481eb8..b6c6003 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -38,4 +38,28 @@ #include +#include +#include + +#include + +struct addr_port{ + enum { IPv4, IPv6 } type_; + gchar addr_[INET6_ADDRSTRLEN + 1]; + guint16 port_; +}; + +struct udp_sink { + GstElement *udp_; + GList* clients_; +}; + +struct udp_sinks { + struct udp_sink rtp_video_; + struct udp_sink rtcp_video_; + struct udp_sink rtp_audio_; + struct udp_sink rtcp_audio_; +}; + + #endif -- cgit v1.2.3