Backed out 2 changesets (bug 1908320) for causing wr failures on align-items-baseline...
[gecko.git] / dom / webidl / RTCRtpSender.webidl
blobc6e70a376f19cfa77f5c8b51b3672fe16d9b9141
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://w3c.github.io/webrtc-pc/#rtcrtpsender-interface
8  */
10 [Pref="media.peerconnection.enabled",
11  Exposed=Window]
12 interface RTCRtpSender {
13   readonly attribute MediaStreamTrack? track;
14   readonly attribute RTCDtlsTransport? transport;
15   static RTCRtpCapabilities? getCapabilities(DOMString kind);
16   [NewObject]
17   Promise<undefined> setParameters (RTCRtpSendParameters parameters);
18   RTCRtpSendParameters getParameters();
19   [Throws]
20   Promise<undefined> replaceTrack(MediaStreamTrack? withTrack);
21   [Throws]
22   undefined setStreams(MediaStream... streams);
23   [NewObject]
24   Promise<RTCStatsReport> getStats();
25   readonly attribute RTCDTMFSender? dtmf;
26   [ChromeOnly]
27   sequence<MediaStream> getStreams();
28   [ChromeOnly]
29   undefined setStreamsImpl(MediaStream... streams);
30   [ChromeOnly]
31   undefined setTrack(MediaStreamTrack? track);
34 // https://w3c.github.io/webrtc-encoded-transform/#specification
35 partial interface RTCRtpSender {
36   [SetterThrows,
37    Pref="media.peerconnection.scripttransform.enabled"] attribute RTCRtpTransform? transform;