diff options
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 |