Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / dom / webidl / RTCRtpReceiver.webidl
blob38cc3394617e84695411c859b68b3eb22450c61f
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * http://lists.w3.org/Archives/Public/public-webrtc/2014May/0067.html
8  */
10 [Pref="media.peerconnection.enabled",
11  JSImplementation="@mozilla.org/dom/rtpreceiver;1"]
12 interface RTCRtpReceiver {
13   readonly attribute MediaStreamTrack   track;
14   Promise<RTCStatsReport>               getStats();
15   [Pref="media.peerconnection.rtpsourcesapi.enabled"]
16   sequence<RTCRtpContributingSource>    getContributingSources();
17   [Pref="media.peerconnection.rtpsourcesapi.enabled"]
18   sequence<RTCRtpSynchronizationSource> getSynchronizationSources();
20   [ChromeOnly]
21   void setStreamIds(sequence<DOMString> streamIds);
22   [ChromeOnly]
23   void setRemoteSendBit(boolean sendBit);
24   [ChromeOnly]
25   void processTrackAdditionsAndRemovals(
26       RTCRtpTransceiver transceiver,
27       object postProcessing);