diff --git a/externs/browser/w3c_rtc.js b/externs/browser/w3c_rtc.js index 4b0955cb410..934f6f9e8d4 100644 --- a/externs/browser/w3c_rtc.js +++ b/externs/browser/w3c_rtc.js @@ -1909,6 +1909,43 @@ RTCIceServerInterface_.prototype.credential; */ var RTCIceServer; +//WORKAROUND for elemental2 - we need to keep these externs around as long as elemental2-dom 1.1.0 is a going concern +/** + * @typedef {{ + * iceServers: !Array, + * iceTransportPolicy: (string|undefined), + * sdpSemantics: (string|undefined) + * }} + * @private + */ +var RTCConfigurationRecord_; + +/** + * @interface + * @private + */ +function RTCConfigurationInterface_() {} +/** + * @type {!Array} + */ +RTCConfigurationInterface_.prototype.iceServers; + +/** + * Allows specifying the ICE transport policy. Valid values are "all" and + * "relay", with "all" being the default. + * @type {string|undefined} + */ +RTCConfigurationInterface_.prototype.iceTransportPolicy; +/** + * Allows specifying the SDP semantics. Valid values are "plan-b" and + * "unified-plan". + * + * @see {@link https://webrtc.org/web-apis/chrome/unified-plan/} + * @type {string|undefined} + */ +RTCConfigurationInterface_.prototype.sdpSemantics; +//END WORKAROUND + /** * @record * @see https://www.w3.org/TR/webrtc/#dom-rtcconfiguration