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

Unified Diff: content/renderer/media/rtc_peer_connection_handler.cc

Issue 2447033002: Support RTCConfiguration iceTransportPolicy (Closed)
Patch Set: update expectations Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_peer_connection_handler.cc
diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc
index d2df565256ced5cc93e543993eb3f2d04c3106b1..b19e92ba514a1643d7560773e071f269218d2bc4 100644
--- a/content/renderer/media/rtc_peer_connection_handler.cc
+++ b/content/renderer/media/rtc_peer_connection_handler.cc
@@ -204,14 +204,14 @@ void GetNativeRtcConfiguration(
webrtc_config->servers.push_back(server);
}
- switch (blink_config.iceTransports) {
- case blink::WebRTCIceTransports::kNone:
+ switch (blink_config.iceTransportPolicy) {
+ case blink::WebRTCIceTransportPolicy::kNone:
webrtc_config->type = webrtc::PeerConnectionInterface::kNone;
break;
- case blink::WebRTCIceTransports::kRelay:
+ case blink::WebRTCIceTransportPolicy::kRelay:
webrtc_config->type = webrtc::PeerConnectionInterface::kRelay;
break;
- case blink::WebRTCIceTransports::kAll:
+ case blink::WebRTCIceTransportPolicy::kAll:
webrtc_config->type = webrtc::PeerConnectionInterface::kAll;
break;
default:
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698