Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCConfiguration.idl

Issue 2447033002: Support RTCConfiguration iceTransportPolicy (Closed)
Patch Set: update expectations Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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): The spec does not have the "none" value.
8 // does not have "none" as one of its values. 8 // https://crbug.com/659134
9 enum RTCIceTransports { 9 enum RTCIceTransportPolicy {
10 "none", 10 "none",
11 "relay", 11 "relay",
12 "all" 12 "all"
13 }; 13 };
14 14
15 // https://w3c.github.io/webrtc-pc/#rtcbundlepolicy-enum 15 // https://w3c.github.io/webrtc-pc/#rtcbundlepolicy-enum
16 16
17 enum RTCBundlePolicy { 17 enum RTCBundlePolicy {
18 "balanced", 18 "balanced",
19 "max-compat", 19 "max-compat",
20 "max-bundle" 20 "max-bundle"
21 }; 21 };
22 22
23 // https://w3c.github.io/webrtc-pc/#rtcrtcpmuxpolicy-enum 23 // https://w3c.github.io/webrtc-pc/#rtcrtcpmuxpolicy-enum
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 RTCIceTransportPolicy iceTransportPolicy;
37 // TODO(foolip): |iceTransports| is not in the spec.
38 // https://crbug.com/659131
39 RTCIceTransportPolicy iceTransports;
36 RTCBundlePolicy bundlePolicy = "balanced"; 40 RTCBundlePolicy bundlePolicy = "balanced";
37 // TODO(foolip): |rtcpMuxPolicy| default should be "require". 41 // TODO(foolip): |rtcpMuxPolicy| default should be "require".
38 RTCRtcpMuxPolicy rtcpMuxPolicy; 42 RTCRtcpMuxPolicy rtcpMuxPolicy;
39 // TODO(foolip): DOMString peerIdentity; 43 // TODO(foolip): DOMString peerIdentity;
40 // TODO(foolip): |certificates| should not be nullable. 44 // TODO(foolip): |certificates| should not be nullable.
41 sequence<RTCCertificate>? certificates; 45 sequence<RTCCertificate>? certificates;
42 // TODO(foolip): unsigned short iceCandidatePoolSize = 0; 46 // TODO(foolip): unsigned short iceCandidatePoolSize = 0;
43 }; 47 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/modules/peerconnection/RTCIceServer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698