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 * This file includes all the deprecated mozRTC prefixed interfaces. 7 * 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). 10 */ 11 12[Deprecated="WebrtcDeprecatedPrefix", 13 Pref="media.peerconnection.enabled", 14 JSImplementation="@mozilla.org/dom/rtcicecandidate;1", 15 Exposed=Window] 16interface mozRTCIceCandidate : RTCIceCandidate { 17 [Throws] 18 constructor(optional RTCIceCandidateInit candidateInitDict = {}); 19}; 20 21[Deprecated="WebrtcDeprecatedPrefix", 22 Pref="media.peerconnection.enabled", 23 JSImplementation="@mozilla.org/dom/peerconnection;1", 24 Exposed=Window] 25interface mozRTCPeerConnection : RTCPeerConnection { 26 [Throws] 27 constructor(optional RTCConfiguration configuration = {}, 28 optional object? constraints); 29}; 30 31[Deprecated="WebrtcDeprecatedPrefix", 32 Pref="media.peerconnection.enabled", 33 JSImplementation="@mozilla.org/dom/rtcsessiondescription;1", 34 Exposed=Window] 35interface mozRTCSessionDescription : RTCSessionDescription { 36 [Throws] 37 constructor(optional RTCSessionDescriptionInit descriptionInitDict = {}); 38}; 39