OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // https://w3c.github.io/webrtc-pc/#rtcicetransportpolicy-enum |
| 6 |
| 7 // TODO(foolip): This is called RTCIceTransportPolicy in the spec, and that enum |
| 8 // does not have "none" as one of its values. |
| 9 enum RTCIceTransports { |
| 10 "none", |
| 11 "relay", |
| 12 "all" |
| 13 }; |
| 14 |
| 15 // https://w3c.github.io/webrtc-pc/#rtcbundlepolicy-enum |
| 16 |
| 17 enum RTCBundlePolicy { |
| 18 "balanced", |
| 19 "max-compat", |
| 20 "max-bundle" |
| 21 }; |
| 22 |
| 23 // https://w3c.github.io/webrtc-pc/#rtcrtcpmuxpolicy-enum |
| 24 |
| 25 enum RTCRtcpMuxPolicy { |
| 26 "negotiate", |
| 27 "require" |
| 28 }; |
| 29 |
| 30 // https://w3c.github.io/webrtc-pc/#rtcconfiguration-dictionary |
| 31 |
| 32 dictionary RTCConfiguration { |
| 33 sequence<RTCIceServer> iceServers; |
| 34 // TODO(foolip): |iceTransports| should be |iceTransportPolicy|. |
| 35 RTCIceTransports iceTransports = "all"; |
| 36 RTCBundlePolicy bundlePolicy = "balanced"; |
| 37 // TODO(foolip): |rtcpMuxPolicy| default should be "require". |
| 38 RTCRtcpMuxPolicy rtcpMuxPolicy; |
| 39 // TODO(foolip): DOMString peerIdentity; |
| 40 // TODO(foolip): |certificates| should not be nullable. |
| 41 sequence<RTCCertificate>? certificates; |
| 42 // TODO(foolip): unsigned short iceCandidatePoolSize = 0; |
| 43 }; |
OLD | NEW |