webrtc-ice.idl (1004B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: IceTransport Extensions for WebRTC (https://w3c.github.io/webrtc-ice/) 5 6 partial dictionary RTCIceParameters { 7 boolean iceLite; 8 }; 9 10 dictionary RTCIceGatherOptions { 11 RTCIceTransportPolicy gatherPolicy = "all"; 12 sequence<RTCIceServer> iceServers; 13 }; 14 15 [Exposed=Window] 16 partial interface RTCIceTransport { 17 constructor(); 18 undefined gather (optional RTCIceGatherOptions options = {}); 19 undefined start (optional RTCIceParameters remoteParameters = {}, optional RTCIceRole role = "controlled"); 20 undefined stop (); 21 undefined addRemoteCandidate (optional RTCIceCandidateInit remoteCandidate = {}); 22 attribute EventHandler onerror; 23 attribute EventHandler onicecandidate; 24 };