gst/rtpmanager/: Add signal to notify of an SDES change.
[platform/upstream/gstreamer.git] / 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., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23
24 #include "gstrtpbin.h"
25 #include "gstrtpclient.h"
26 #include "gstrtpjitterbuffer.h"
27 #include "gstrtpptdemux.h"
28 #include "gstrtpsession.h"
29 #include "gstrtpssrcdemux.h"
30
31 static gboolean
32 plugin_init (GstPlugin * plugin)
33 {
34   if (!gst_element_register (plugin, "gstrtpbin", GST_RANK_NONE,
35           GST_TYPE_RTP_BIN))
36     return FALSE;
37
38   if (!gst_element_register (plugin, "gstrtpclient", GST_RANK_NONE,
39           GST_TYPE_RTP_CLIENT))
40     return FALSE;
41
42   if (!gst_element_register (plugin, "gstrtpjitterbuffer", GST_RANK_NONE,
43           GST_TYPE_RTP_JITTER_BUFFER))
44     return FALSE;
45
46   if (!gst_element_register (plugin, "gstrtpptdemux", GST_RANK_NONE,
47           GST_TYPE_RTP_PT_DEMUX))
48     return FALSE;
49
50   if (!gst_element_register (plugin, "gstrtpsession", GST_RANK_NONE,
51           GST_TYPE_RTP_SESSION))
52     return FALSE;
53
54   if (!gst_element_register (plugin, "gstrtpssrcdemux", GST_RANK_NONE,
55           GST_TYPE_RTP_SSRC_DEMUX))
56     return FALSE;
57
58   return TRUE;
59 }
60
61 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
62     GST_VERSION_MINOR,
63     "gstrtpmanager",
64     "RTP session management plugin library",
65     plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)