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

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

Issue 2442763002: Convert Dictionary handling to RTCConfiguration IDL dictionary (Closed)
Patch Set: revert rtcpMuxPolicy default, also measure urls 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
(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
hbos_chromium 2016/10/24 11:35:24 nit: Here and other places - do we have a space be
foolip 2016/10/24 12:05:25 In core/ there's pretty consistently a blank line
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|.
foolip 2016/10/23 10:17:58 Having written https://github.com/w3c/web-platform
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698