2019-01-21 16:44:10 +00:00
|
|
|
/* GStreamer RIST plugin
|
|
|
|
* Copyright (C) 2019 Net Insight AB
|
|
|
|
* Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
|
|
#ifndef __GST_RIST_H__
|
|
|
|
#define __GST_RIST_H__
|
|
|
|
|
|
|
|
#define GST_TYPE_RIST_RTX_RECEIVE (gst_rist_rtx_receive_get_type())
|
|
|
|
#define GST_RIST_RTX_RECEIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIST_RTX_RECEIVE, GstRistRtxReceive))
|
|
|
|
typedef struct _GstRistRtxReceive GstRistRtxReceive;
|
|
|
|
typedef struct {
|
|
|
|
GstElementClass parent_class;
|
|
|
|
} GstRistRtxReceiveClass;
|
|
|
|
GType gst_rist_rtx_receive_get_type (void);
|
|
|
|
|
|
|
|
#define GST_TYPE_RIST_RTX_SEND (gst_rist_rtx_send_get_type())
|
|
|
|
#define GST_RIST_RTX_SEND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIST_RTX_SEND, GstRistRtxSend))
|
|
|
|
typedef struct _GstRistRtxSend GstRistRtxSend;
|
|
|
|
typedef struct {
|
|
|
|
GstElementClass parent_class;
|
|
|
|
} GstRistRtxSendClass;
|
|
|
|
GType gst_rist_rtx_send_get_type (void);
|
|
|
|
|
|
|
|
#define GST_TYPE_RIST_SRC (gst_rist_src_get_type())
|
|
|
|
#define GST_RIST_SRC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIST_SRC,GstRistSrc))
|
|
|
|
typedef struct _GstRistSrc GstRistSrc;
|
|
|
|
typedef struct {
|
|
|
|
GstBinClass parent;
|
|
|
|
} GstRistSrcClass;
|
|
|
|
GType gst_rist_src_get_type (void);
|
|
|
|
|
|
|
|
|
|
|
|
#define GST_TYPE_RIST_SINK (gst_rist_sink_get_type())
|
|
|
|
#define GST_RIST_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIST_SINK,GstRistSink))
|
2019-07-11 22:53:00 +00:00
|
|
|
typedef struct _GstRistSink GstRistSink;
|
2019-01-21 16:44:10 +00:00
|
|
|
typedef struct {
|
|
|
|
GstBinClass parent;
|
|
|
|
} GstRistSinkClass;
|
|
|
|
GType gst_rist_sink_get_type (void);
|
|
|
|
|
2019-07-11 22:53:00 +00:00
|
|
|
#define GST_TYPE_RIST_RTP_EXT (gst_rist_rtp_ext_get_type())
|
|
|
|
#define GST_RIST_RTP_EXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIST_RTP_EXT,GstRistRtpExt))
|
|
|
|
typedef struct _GstRistRtpExt GstRistRtpExt;
|
|
|
|
typedef struct {
|
|
|
|
GstElementClass parent;
|
|
|
|
} GstRistRtpExtClass;
|
|
|
|
GType gst_rist_rtp_ext_get_type (void);
|
|
|
|
|
2019-07-12 15:43:26 +00:00
|
|
|
#define GST_TYPE_RIST_RTP_DEEXT (gst_rist_rtp_deext_get_type())
|
|
|
|
#define GST_RIST_RTP_DEEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIST_RTP_DEEXT,GstRistRtpDeext))
|
|
|
|
typedef struct _GstRistRtpDeext GstRistRtpDeext;
|
|
|
|
typedef struct {
|
|
|
|
GstElementClass parent;
|
|
|
|
} GstRistRtpDeextClass;
|
|
|
|
GType gst_rist_rtp_deext_get_type (void);
|
|
|
|
|
2019-07-26 20:49:51 +00:00
|
|
|
guint32 gst_rist_rtp_ext_seq (guint32 * extseqnum, guint16 seqnum);
|
|
|
|
|
2019-07-26 21:14:14 +00:00
|
|
|
void gst_rist_rtx_send_set_extseqnum (GstRistRtxSend *self, guint32 ssrc,
|
|
|
|
guint16 seqnum_ext);
|
|
|
|
void gst_rist_rtx_send_clear_extseqnum (GstRistRtxSend *self, guint32 ssrc);
|
|
|
|
|
2019-01-21 16:44:10 +00:00
|
|
|
#endif
|