1 /* RTP funnel element for GStreamer 2 * 3 * gstrtpfunnel.h: 4 * 5 * Copyright (C) <2017> Pexip. 6 * Contact: Havard Graff <havard@pexip.com> 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Library General Public 10 * License as published by the Free Software Foundation; either 11 * version 2 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Library General Public License for more details. 17 * 18 * You should have received a copy of the GNU Library General Public 19 * License along with this library; if not, write to the 20 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 21 * Boston, MA 02110-1301, USA. 22 */ 23 #ifndef __GST_RTP_FUNNEL_H__ 24 #define __GST_RTP_FUNNEL_H__ 25 26 #include <gst/gst.h> 27 28 G_BEGIN_DECLS 29 30 typedef struct _GstRtpFunnelClass GstRtpFunnelClass; 31 typedef struct _GstRtpFunnel GstRtpFunnel; 32 33 #define GST_TYPE_RTP_FUNNEL (gst_rtp_funnel_get_type()) 34 #define GST_RTP_FUNNEL_CAST(obj) ((GstRtpFunnel *)(obj)) 35 36 GType gst_rtp_funnel_get_type (void); 37 38 GST_ELEMENT_REGISTER_DECLARE (rtpfunnel); 39 40 typedef struct _GstRtpFunnelPadClass GstRtpFunnelPadClass; 41 typedef struct _GstRtpFunnelPad GstRtpFunnelPad; 42 43 #define GST_TYPE_RTP_FUNNEL_PAD (gst_rtp_funnel_pad_get_type()) 44 #define GST_RTP_FUNNEL_PAD_CAST(obj) ((GstRtpFunnelPad *)(obj)) 45 46 GType gst_rtp_funnel_pad_get_type (void); 47 48 G_END_DECLS 49 50 #endif /* __GST_RTP_FUNNEL_H__ */ 51