OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://w3c.github.io/webrtc-pc/#rtcicetransportpolicy-enum | 5 // https://w3c.github.io/webrtc-pc/#rtcicetransportpolicy-enum |
6 | 6 |
7 // TODO(foolip): The spec does not have the "none" value. | 7 // TODO(foolip): The spec does not have the "none" value. |
8 // https://crbug.com/659134 | 8 // https://crbug.com/659134 |
9 enum RTCIceTransportPolicy { | 9 enum RTCIceTransportPolicy { |
10 "none", | 10 "none", |
(...skipping 23 matching lines...) Expand all Loading... |
34 // TODO(foolip): |iceTransportPolicy| default should be "all", but it is | 34 // TODO(foolip): |iceTransportPolicy| default should be "all", but it is |
35 // omitted to allow fallback to |iceTransports| if not specified. | 35 // omitted to allow fallback to |iceTransports| if not specified. |
36 RTCIceTransportPolicy iceTransportPolicy; | 36 RTCIceTransportPolicy iceTransportPolicy; |
37 // TODO(foolip): |iceTransports| is not in the spec. | 37 // TODO(foolip): |iceTransports| is not in the spec. |
38 // https://crbug.com/659131 | 38 // https://crbug.com/659131 |
39 RTCIceTransportPolicy iceTransports; | 39 RTCIceTransportPolicy iceTransports; |
40 RTCBundlePolicy bundlePolicy = "balanced"; | 40 RTCBundlePolicy bundlePolicy = "balanced"; |
41 RTCRtcpMuxPolicy rtcpMuxPolicy = "require"; | 41 RTCRtcpMuxPolicy rtcpMuxPolicy = "require"; |
42 // TODO(foolip): DOMString peerIdentity; | 42 // TODO(foolip): DOMString peerIdentity; |
43 sequence<RTCCertificate> certificates; | 43 sequence<RTCCertificate> certificates; |
44 // TODO(foolip): unsigned short iceCandidatePoolSize = 0; | 44 [EnforceRange] octet iceCandidatePoolSize = 0; |
45 }; | 45 }; |
OLD | NEW |