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

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

Issue 30983002: Switch from using internal constraints to use explicit PeerConnectionFactoryInterface::SetOptions t… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track_stop
Patch Set: Created 7 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
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 127a7e23fcd5fed93bd5cd41ef317dd6e8c643b7..aa04692638da7df1032e2529c04745f47eac0687 100644
--- a/content/renderer/media/rtc_peer_connection_handler.cc
+++ b/content/renderer/media/rtc_peer_connection_handler.cc
@@ -351,12 +351,6 @@ bool RTCPeerConnectionHandler::initialize(
RTCMediaConstraints constraints(options);
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableSCTPDataChannels)) {
- constraints.AddOptional(
- webrtc::MediaConstraintsInterface::kEnableSctpDataChannels, "true");
- }
-
native_peer_connection_ =
dependency_factory_->CreatePeerConnection(
servers, &constraints, frame_, this);

Powered by Google App Engine
This is Rietveld 408576698