Add AL-FEC feature
[platform/upstream/gst-rtsp-server.git] / gst / rtsp-server / rtsp-client-ext.h
1 /* GStreamer
2  * Copyright (C) 2008 Wim Taymans <wim.taymans at gmail.com>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19
20 #include <gst/gst.h>
21 #include <gst/rtsp/gstrtspconnection.h>
22
23 #ifndef __GST_RTSP_EXT_CLIENT_H__
24 #define __GST_RTSP_EXT_CLIENT_H__
25
26 G_BEGIN_DECLS
27
28 typedef struct _GstRTSPExtClient GstRTSPExtClient;
29 typedef struct _GstRTSPExtClientClass GstRTSPExtClientClass;
30 typedef struct _GstRTSPExtClientPrivate GstRTSPExtClientPrivate;
31
32 #include "rtsp-mount-points.h"
33 #include "rtsp-client-wfd.h"
34
35 #define GST_TYPE_RTSP_EXT_CLIENT              (gst_rtsp_ext_client_get_type ())
36 #define GST_IS_RTSP_EXT_CLIENT(obj)           (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_RTSP_EXT_CLIENT))
37 #define GST_IS_RTSP_EXT_CLIENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_RTSP_EXT_CLIENT))
38 #define GST_RTSP_EXT_CLIENT_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_RTSP_EXT_CLIENT, GstRTSPExtClientClass))
39 #define GST_RTSP_EXT_CLIENT(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_RTSP_EXT_CLIENT, GstRTSPExtClient))
40 #define GST_RTSP_EXT_CLIENT_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_RTSP_EXT_CLIENT, GstRTSPExtClientClass))
41 #define GST_RTSP_EXT_CLIENT_CAST(obj)         ((GstRTSPExtClient*)(obj))
42 #define GST_RTSP_EXT_CLIENT_CLASS_CAST(klass) ((GstRTSPExtClientClass*)(klass))
43
44 /**
45  * GstRTSPExtClient:
46  *
47  * The client object represents the connection and its state with a client.
48  */
49 struct _GstRTSPExtClient {
50   GstRTSPWFDClient  parent;
51
52   /*< private >*/
53   GstRTSPExtClientPrivate *priv;
54   gpointer _gst_reserved[GST_PADDING];
55 };
56
57 /**
58  * GstRTSPExtClientClass:
59  *
60  * The client class structure.
61  */
62 struct _GstRTSPExtClientClass {
63   GstRTSPWFDClientClass  parent_class;
64   gpointer _gst_reserved[GST_PADDING];
65 };
66
67 GType                 gst_rtsp_ext_client_get_type          (void);
68
69 GstRTSPExtClient *    gst_rtsp_ext_client_new               (void);
70
71 G_END_DECLS
72
73 #endif /* __GST_RTSP_EXT_CLIENT_H__ */