Menu
Home
Blog
Add-ons
Forum
Wiki
Developers
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
components
mediacore
gstreamer
src
sbGStreamerRTPStreamer.h
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
25
#ifndef _SB_GSTREAMER_RTPSTREAMER_H_
26
#define _SB_GSTREAMER_RTPSTREAMER_H_
27
28
#include <nsCOMPtr.h>
29
#include <nsCOMArray.h>
30
31
#include <nsIClassInfo.h>
32
33
#include <gst/gst.h>
34
35
#include "sbIGStreamerRTPStreamer.h"
36
#include "
sbGStreamerPipeline.h
"
37
38
class
sbGStreamerRTPStreamer
:
public
sbGStreamerPipeline
,
39
public
sbIGStreamerRTPStreamer
40
{
41
public
:
42
NS_DECL_ISUPPORTS
43
NS_DECL_NSICLASSINFO
44
NS_DECL_SBIGSTREAMERRTPSTREAMER
45
46
sbGStreamerRTPStreamer
();
47
48
virtual
nsresult
BuildPipeline
();
49
50
private
:
51
virtual
~sbGStreamerRTPStreamer();
52
53
nsString mSourceURI;
54
nsString mDestHost;
55
PRInt32 mDestPort;
56
57
protected
:
58
void
OnCapsSet
(GstCaps *caps);
59
60
// Static helpers
61
private
:
62
static
void
capsNotifyHelper(GObject *obj, GParamSpec *pspec,
63
sbGStreamerRTPStreamer *core);
64
65
};
66
67
#endif // _SB_GSTREAMER_RTPSTREAMER_H_
sbGStreamerRTPStreamer::OnCapsSet
void OnCapsSet(GstCaps *caps)
Definition:
sbGStreamerRTPStreamer.cpp:183
sbGStreamerRTPStreamer::sbGStreamerRTPStreamer
NS_DECL_ISUPPORTS NS_DECL_NSICLASSINFO NS_DECL_SBIGSTREAMERRTPSTREAMER sbGStreamerRTPStreamer()
Definition:
sbGStreamerRTPStreamer.cpp:67
sbIGStreamerRTPStreamer
Definition:
sbIGStreamerRTPStreamer.idl:36
sbGStreamerRTPStreamer::BuildPipeline
virtual nsresult BuildPipeline()
Definition:
sbGStreamerRTPStreamer.cpp:124
NS_DECL_ISUPPORTS
NS_DECL_ISUPPORTS
Definition:
sbPlaylistCommandsHelper.cpp:49
sbGStreamerPipeline.h
sbGStreamerPipeline
Definition:
sbGStreamerPipeline.h:49
sbGStreamerRTPStreamer
Definition:
sbGStreamerRTPStreamer.h:38