diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-09-24 23:34:21 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-09-24 23:34:21 +0200 |
commit | be982f880df6388bd00386b2cae8c318f902f1b2 (patch) | |
tree | 4452fa85d9b32bd1f98dca9fa25c97b9d2b76e1a /src/datatypes.h | |
parent | added simple UDP protocol (diff) |
moved pipeline creation subs to own file
Diffstat (limited to 'src/datatypes.h')
-rw-r--r-- | src/datatypes.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 <stdint.h> +#include <glib.h> +#include <gst/gst.h> + +#include <netdb.h> + +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 |