1d248f8ca6a7207dfe535975c36b5bbfb7ad34ff
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-good / gst / rtpmanager / gstrtpmanager.c
1 /* GStreamer
2  * Copyright (C) <2007> Wim Taymans <wim.taymans@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 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23
24 #include "gstrtpbin.h"
25 #include "gstrtpjitterbuffer.h"
26 #include "gstrtpptdemux.h"
27 #include "gstrtpsession.h"
28 #include "gstrtprtxqueue.h"
29 #include "gstrtprtxreceive.h"
30 #include "gstrtprtxsend.h"
31 #include "gstrtpssrcdemux.h"
32 #include "gstrtpdtmfmux.h"
33 #include "gstrtpmux.h"
34 #include "gstrtpfunnel.h"
35 #include "gstrtpst2022-1-fecdec.h"
36 #include "gstrtpst2022-1-fecenc.h"
37 #include "gstrtphdrext-twcc.h"
38 #include "gstrtphdrext-clientaudiolevel.h"
39
40 static gboolean
41 plugin_init (GstPlugin * plugin)
42 {
43   gboolean ret = FALSE;
44
45   ret |= GST_ELEMENT_REGISTER (rtpbin, plugin);
46   ret |= GST_ELEMENT_REGISTER (rtpjitterbuffer, plugin);
47   ret |= GST_ELEMENT_REGISTER (rtpptdemux, plugin);
48   ret |= GST_ELEMENT_REGISTER (rtpsession, plugin);
49   ret |= GST_ELEMENT_REGISTER (rtprtxqueue, plugin);
50   ret |= GST_ELEMENT_REGISTER (rtprtxreceive, plugin);
51   ret |= GST_ELEMENT_REGISTER (rtprtxsend, plugin);
52   ret |= GST_ELEMENT_REGISTER (rtpssrcdemux, plugin);
53   ret |= GST_ELEMENT_REGISTER (rtpmux, plugin);
54   ret |= GST_ELEMENT_REGISTER (rtpdtmfmux, plugin);
55   ret |= GST_ELEMENT_REGISTER (rtpfunnel, plugin);
56   ret |= GST_ELEMENT_REGISTER (rtpst2022_1_fecdec, plugin);
57   ret |= GST_ELEMENT_REGISTER (rtpst2022_1_fecenc, plugin);
58   ret |= GST_ELEMENT_REGISTER (rtphdrexttwcc, plugin);
59   ret |= GST_ELEMENT_REGISTER (rtphdrextclientaudiolevel, plugin);
60
61   return ret;
62 }
63
64 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, rtpmanager,
65     "RTP session management plugin library", plugin_init, VERSION, "LGPL",
66     GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)