mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Add ICEGatheringState to RTCPeerConnection
This commit is contained in:
parent
5ae562bfc3
commit
209caa418b
3 changed files with 97 additions and 4 deletions
|
@ -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"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue