Fill in RTCIceCandidate

This commit is contained in:
Manish Goregaokar 2019-01-26 10:37:52 -08:00
parent be48cf23f9
commit a43b9c0a8f
2 changed files with 47 additions and 11 deletions

View file

@ -8,9 +8,9 @@
[Constructor(optional RTCIceCandidateInit candidateInitDict),
Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCIceCandidate {
// readonly attribute DOMString candidate;
// readonly attribute DOMString? sdpMid;
// readonly attribute unsigned short? sdpMLineIndex;
readonly attribute DOMString candidate;
readonly attribute DOMString? sdpMid;
readonly attribute unsigned short? sdpMLineIndex;
// readonly attribute DOMString? foundation;
// readonly attribute RTCIceComponent? component;
// readonly attribute unsigned long? priority;
@ -21,7 +21,7 @@ interface RTCIceCandidate {
// readonly attribute RTCIceTcpCandidateType? tcpType;
// readonly attribute DOMString? relatedAddress;
// readonly attribute unsigned short? relatedPort;
// readonly attribute DOMString? usernameFragment;
readonly attribute DOMString? usernameFragment;
// RTCIceCandidateInit toJSON();
};