sbIGStreamerRTPStreamer.idl
Go to the documentation of this file.
1 /*
2  //
3 // BEGIN SONGBIRD GPL
4 //
5 // This file is part of the Songbird web player.
6 //
7 // Copyright(c) 2005-2008 POTI, Inc.
8 // http://songbirdnest.com
9 //
10 // This file may be licensed under the terms of of the
11 // GNU General Public License Version 2 (the �GPL�).
12 //
13 // Software distributed under the License is distributed
14 // on an �AS IS� basis, WITHOUT WARRANTY OF ANY KIND, either
15 // express or implied. See the GPL for the specific language
16 // governing rights and limitations.
17 //
18 // You should have received a copy of the GPL along with this
19 // program. If not, go to http://www.gnu.org/licenses/gpl.html
20 // or write to the Free Software Foundation, Inc.,
21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 //
23 // END SONGBIRD GPL
24 //
25  */
30 #include "nsISupports.idl"
31 
35 [scriptable, uuid(23e8fa67-ba74-44b9-bd4a-5d13298a7b8b)]
37 {
38  // Implementation of this interface is an sbIMediaEventTarget. You can
39  // addListener() to receive this and other important events.
40 
41  // Custom event with SDP as a string as payload.
42  const unsigned long EVENT_SDP_AVAILABLE = 0x40000000 + 1;
43 
44  attribute AString sourceURI; // The source URI to read from
45 
46  attribute AString destHost; // Destination host to stream to
47  attribute long destPort; // Destination port to stream to
48 };
49 
50 %{C++
51 // {fa712427-ac13-449f-ac5c-c2e8fefebc48}
52 #define SB_GSTREAMERRTPSTREAMER_CID \
53  { 0xfa712427, 0xac13, 0x449f, \
54  { 0xac, 0x5c, 0xc2, 0xe8, 0xfe, 0xfe, 0xbc, 0x48 } }
55 
56 #define SB_GSTREAMERRTPSTREAMER_CONTRACTID "@songbirdnest.com/Songbird/Playback/GStreamer/RTPStreamer;1"
57 #define SB_GSTREAMERRTPSTREAMER_CLASSNAME "GStreamerRTPStreamer"
58 %}
59 
var uuid
function C(H)
const unsigned long EVENT_SDP_AVAILABLE