| 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. | |
| 8 // https://crbug.com/659134 | |
| 9 enum RTCIceTransportPolicy { | 7 enum RTCIceTransportPolicy { |
| 10 "none", | |
| 11 "relay", | 8 "relay", |
| 12 "all" | 9 "all" |
| 13 }; | 10 }; |
| 14 | 11 |
| 15 // https://w3c.github.io/webrtc-pc/#rtcbundlepolicy-enum | 12 // https://w3c.github.io/webrtc-pc/#rtcbundlepolicy-enum |
| 16 | 13 |
| 17 enum RTCBundlePolicy { | 14 enum RTCBundlePolicy { |
| 18 "balanced", | 15 "balanced", |
| 19 "max-compat", | 16 "max-compat", |
| 20 "max-bundle" | 17 "max-bundle" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 36 RTCIceTransportPolicy iceTransportPolicy; | 33 RTCIceTransportPolicy iceTransportPolicy; |
| 37 // TODO(foolip): |iceTransports| is not in the spec. | 34 // TODO(foolip): |iceTransports| is not in the spec. |
| 38 // https://crbug.com/659131 | 35 // https://crbug.com/659131 |
| 39 RTCIceTransportPolicy iceTransports; | 36 RTCIceTransportPolicy iceTransports; |
| 40 RTCBundlePolicy bundlePolicy = "balanced"; | 37 RTCBundlePolicy bundlePolicy = "balanced"; |
| 41 RTCRtcpMuxPolicy rtcpMuxPolicy = "require"; | 38 RTCRtcpMuxPolicy rtcpMuxPolicy = "require"; |
| 42 // TODO(foolip): DOMString peerIdentity; | 39 // TODO(foolip): DOMString peerIdentity; |
| 43 sequence<RTCCertificate> certificates; | 40 sequence<RTCCertificate> certificates; |
| 44 [EnforceRange] octet iceCandidatePoolSize = 0; | 41 [EnforceRange] octet iceCandidatePoolSize = 0; |
| 45 }; | 42 }; |
| OLD | NEW |