sbGStreamerMediacoreModule.cpp
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2010 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
30 #include <nsIGenericFactory.h>
31 
36 #include "sbGStreamerService.h"
37 #include "sbGStreamerRTPStreamer.h"
38 #include "sbGStreamerTranscode.h"
44 
46 
48 SB_MEDIACORE_FACTORY_REGISTERSELF(sbGStreamerMediacoreFactory);
49 
51 
55 
58 
61 
63 
64 static const nsModuleComponentInfo components[] =
65 {
66  {
70  sbGStreamerServiceConstructor
71  },
72  {
76  sbGStreamerMediacoreFactoryConstructor,
77  sbGStreamerMediacoreFactoryRegisterSelf,
78  sbGStreamerMediacoreFactoryUnregisterSelf
79  },
80  {
84  sbGStreamerMediaInspectorConstructor
85  },
86  {
90  sbGStreamerMediaContainerConstructor
91  },
92  {
96  sbGStreamerMetadataHandlerConstructor
97  },
98  {
102  sbGStreamerRTPStreamerConstructor
103  },
104  {
108  sbGStreamerTranscodeConstructor
109  },
110  {
114  sbGStreamerVideoTranscoderConstructor
115  },
116  {
120  sbGStreamerTranscodeAudioConfiguratorConstructor
121  },
122  {
126  sbGStreamerTranscodeDeviceConfiguratorConstructor
127  },
128  {
132  sbGStreamerAudioProcessorConstructor
133  }
134 };
135 
136 NS_IMPL_NSGETMODULE(sbGstreamerMediacoreModule, components)
137 
#define SB_GSTREAMER_TRANSCODE_CONTRACTID
#define SB_GSTREAMER_MEDIACONTAINER_CID
#define SB_GSTREAMERMEDIACOREFACTORY_CLASSNAME
#define SB_GSTREAMER_VIDEO_TRANSCODE_CID
#define SB_GSTREAMER_TRANSCODE_CLASSNAME
#define SB_GSTREAMER_AUDIO_PROCESSOR_CONTRACTID
#define SB_GSTREAMER_VIDEO_TRANSCODE_CLASSNAME
SB_MEDIACORE_FACTORY_REGISTERSELF(sbGStreamerMediacoreFactory)
#define SB_GSTREAMER_METADATA_HANDLER_CONTRACTID
#define SB_GSTREAMER_TRANSCODE_AUDIO_CONFIGURATOR_CLASSNAME
#define SBGSTREAMERSERVICE_CONTRACTID
#define SB_GSTREAMER_TRANSCODE_CID
#define SB_GSTREAMER_METADATA_HANDLER_CLASSNAME
#define SB_GSTREAMER_TRANSCODE_DEVICE_CONFIGURATOR_CLASSNAME
#define SB_GSTREAMER_MEDIAINSPECTOR_CLASSNAME
function Init()
#define SB_GSTREAMERRTPSTREAMER_CLASSNAME
#define SB_GSTREAMER_AUDIO_PROCESSOR_CID
#define SBGSTREAMERSERVICE_CID
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SB_GSTREAMER_MEDIACONTAINER_CLASSNAME
#define SB_GSTREAMERMEDIACOREFACTORY_CONTRACTID
#define SB_GSTREAMER_TRANSCODE_DEVICE_CONFIGURATOR_CONTRACTID
#define SB_GSTREAMER_MEDIAINSPECTOR_CID
#define SB_GSTREAMER_VIDEO_TRANSCODE_CONTRACTID
#define SB_GSTREAMER_MEDIACONTAINER_CONTRACTID
#define SB_GSTREAMERMEDIACOREFACTORY_CID
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbGStreamerMediacoreFactory, Init)
#define SB_GSTREAMER_TRANSCODE_DEVICE_CONFIGURATOR_CID
#define SB_GSTREAMERRTPSTREAMER_CONTRACTID
NS_GENERIC_FACTORY_CONSTRUCTOR(sbMediaSniffer)
#define SB_GSTREAMERRTPSTREAMER_CID
#define SB_GSTREAMER_TRANSCODE_AUDIO_CONFIGURATOR_CONTRACTID
#define SB_GSTREAMER_AUDIO_PROCESSOR_CLASSNAME
#define SB_GSTREAMER_METADATA_HANDLER_CID
#define SBGSTREAMERSERVICE_CLASSNAME
#define SB_GSTREAMER_MEDIAINSPECTOR_CONTRACTID
#define SB_GSTREAMER_TRANSCODE_AUDIO_CONFIGURATOR_CID
static const nsModuleComponentInfo components[]