diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2019-03-06 11:58:32 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2019-03-25 09:04:13 -0700 |
commit | 209caa418ba3891e8fd5a9cc911a163380894bd5 (patch) | |
tree | c1a8d1a2f3342b90825aa640e891ab09b9266f0f /components/script/dom/webidls/RTCPeerConnection.webidl | |
parent | 5ae562bfc3507f12f562dfcb0cecd5ad1ec0fd20 (diff) | |
download | servo-209caa418ba3891e8fd5a9cc911a163380894bd5.tar.gz servo-209caa418ba3891e8fd5a9cc911a163380894bd5.zip |
Add ICEGatheringState to RTCPeerConnection
Diffstat (limited to 'components/script/dom/webidls/RTCPeerConnection.webidl')
-rw-r--r-- | components/script/dom/webidls/RTCPeerConnection.webidl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/components/script/dom/webidls/RTCPeerConnection.webidl b/components/script/dom/webidls/RTCPeerConnection.webidl index c79dba097bf..ea1930a0561 100644 --- a/components/script/dom/webidls/RTCPeerConnection.webidl +++ b/components/script/dom/webidls/RTCPeerConnection.webidl @@ -19,7 +19,7 @@ interface RTCPeerConnection : EventTarget { // readonly attribute RTCSessionDescription? pendingRemoteDescription; Promise<void> addIceCandidate(optional RTCIceCandidateInit candidate); // readonly attribute RTCSignalingState signalingState; - // readonly attribute RTCIceGatheringState iceGatheringState; + readonly attribute RTCIceGatheringState iceGatheringState; // readonly attribute RTCIceConnectionState iceConnectionState; // readonly attribute RTCPeerConnectionState connectionState; // readonly attribute boolean? canTrickleIceCandidates; @@ -32,7 +32,7 @@ interface RTCPeerConnection : EventTarget { // attribute EventHandler onicecandidateerror; // attribute EventHandler onsignalingstatechange; // attribute EventHandler oniceconnectionstatechange; - // attribute EventHandler onicegatheringstatechange; + attribute EventHandler onicegatheringstatechange; // attribute EventHandler onconnectionstatechange; // removed from spec, but still shipped by browsers @@ -89,3 +89,9 @@ dictionary RTCOfferOptions : RTCOfferAnswerOptions { dictionary RTCAnswerOptions : RTCOfferAnswerOptions { }; + +enum RTCIceGatheringState { + "new", + "gathering", + "complete" +}; |