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/.
6 * This file includes all the deprecated mozRTC prefixed interfaces.
8 * The declaration of each should match the declaration of the real, unprefixed
9 * interface. These aliases will be removed at some point (Bug 1155923).
12 [Deprecated="WebrtcDeprecatedPrefix",
13 Pref="media.peerconnection.enabled",
14 JSImplementation="@mozilla.org/dom/rtcicecandidate;1",
15 Constructor(optional RTCIceCandidateInit candidateInitDict)]
16 interface mozRTCIceCandidate : RTCIceCandidate {};
18 [Deprecated="WebrtcDeprecatedPrefix",
19 Pref="media.peerconnection.enabled",
20 JSImplementation="@mozilla.org/dom/peerconnection;1",
21 Constructor (optional RTCConfiguration configuration,
22 optional object? constraints)]
23 interface mozRTCPeerConnection : RTCPeerConnection {};
25 [Deprecated="WebrtcDeprecatedPrefix",
26 Pref="media.peerconnection.enabled",
27 JSImplementation="@mozilla.org/dom/rtcsessiondescription;1",
28 Constructor(optional RTCSessionDescriptionInit descriptionInitDict)]
29 interface mozRTCSessionDescription : RTCSessionDescription {};