| 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): This is called RTCIceTransportPolicy in the spec, and that enum | 7 // TODO(foolip): This is called RTCIceTransportPolicy in the spec, and that enum |
| 8 // does not have "none" as one of its values. | 8 // does not have "none" as one of its values. |
| 9 enum RTCIceTransports { | 9 enum RTCIceTransports { |
| 10 "none", | 10 "none", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 enum RTCRtcpMuxPolicy { | 25 enum RTCRtcpMuxPolicy { |
| 26 "negotiate", | 26 "negotiate", |
| 27 "require" | 27 "require" |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 // https://w3c.github.io/webrtc-pc/#rtcconfiguration-dictionary | 30 // https://w3c.github.io/webrtc-pc/#rtcconfiguration-dictionary |
| 31 | 31 |
| 32 dictionary RTCConfiguration { | 32 dictionary RTCConfiguration { |
| 33 sequence<RTCIceServer> iceServers; | 33 sequence<RTCIceServer> iceServers; |
| 34 // TODO(foolip): |iceTransports| should be |iceTransportPolicy|. | 34 // TODO(foolip): |iceTransportPolicy| default should be "all", but it is |
| 35 RTCIceTransports iceTransports = "all"; | 35 // omitted to allow fallback to |iceTransports| if not specified. |
| 36 RTCIceTransports iceTransportPolicy; |
| 37 // TODO(foolip): |iceTransports| is not in the spec. |
| 38 RTCIceTransports iceTransports; |
| 36 RTCBundlePolicy bundlePolicy = "balanced"; | 39 RTCBundlePolicy bundlePolicy = "balanced"; |
| 37 // TODO(foolip): |rtcpMuxPolicy| default should be "require". | 40 // TODO(foolip): |rtcpMuxPolicy| default should be "require". |
| 38 RTCRtcpMuxPolicy rtcpMuxPolicy; | 41 RTCRtcpMuxPolicy rtcpMuxPolicy; |
| 39 // TODO(foolip): DOMString peerIdentity; | 42 // TODO(foolip): DOMString peerIdentity; |
| 40 // TODO(foolip): |certificates| should not be nullable. | 43 // TODO(foolip): |certificates| should not be nullable. |
| 41 sequence<RTCCertificate>? certificates; | 44 sequence<RTCCertificate>? certificates; |
| 42 // TODO(foolip): unsigned short iceCandidatePoolSize = 0; | 45 // TODO(foolip): unsigned short iceCandidatePoolSize = 0; |
| 43 }; | 46 }; |
| OLD | NEW |