gecko-dev/dom/webidl/RTCRtpReceiver.webidl
Nico Grunbaum 0abf999334 Bug 1363667 - P1 - Add RTP Sources WebIDL r=bkelly,mjf
MozReview-Commit-ID: 61RqPKfbrDw

--HG--
extra : rebase_source : 413164df9bbabe6e93c217f33b1127ddde6716b9
2017-11-14 09:20:29 -08:00

18 lines
749 B
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* http://lists.w3.org/Archives/Public/public-webrtc/2014May/0067.html
*/
[Pref="media.peerconnection.enabled",
JSImplementation="@mozilla.org/dom/rtpreceiver;1"]
interface RTCRtpReceiver {
readonly attribute MediaStreamTrack track;
Promise<RTCStatsReport> getStats();
sequence<RTCRtpContributingSource> getContributingSources();
sequence<RTCRtpSynchronizationSource> getSynchronizationSources();
};