mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Clean up TURN server limit killswitch
after the limitation to 32 TURN servers shipped in M110 BUG=webrtc:13195 Change-Id: I247e5b164188751d94eb9f4fb93aadf1dd645d2a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298308 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Florent Castelli <orphis@webrtc.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#39634}
This commit is contained in:
parent
f0f435e983
commit
3e224c7fe1
1 changed files with 2 additions and 4 deletions
|
@ -605,8 +605,7 @@ RTCError PeerConnection::Initialize(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Restrict number of TURN servers.
|
// Restrict number of TURN servers.
|
||||||
if (!trials().IsDisabled("WebRTC-LimitTurnServers") &&
|
if (turn_servers.size() > cricket::kMaxTurnServers) {
|
||||||
turn_servers.size() > cricket::kMaxTurnServers) {
|
|
||||||
RTC_LOG(LS_WARNING) << "Number of configured TURN servers is "
|
RTC_LOG(LS_WARNING) << "Number of configured TURN servers is "
|
||||||
<< turn_servers.size()
|
<< turn_servers.size()
|
||||||
<< " which exceeds the maximum allowed number of "
|
<< " which exceeds the maximum allowed number of "
|
||||||
|
@ -1565,8 +1564,7 @@ RTCError PeerConnection::SetConfiguration(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Restrict number of TURN servers.
|
// Restrict number of TURN servers.
|
||||||
if (!trials().IsDisabled("WebRTC-LimitTurnServers") &&
|
if (turn_servers.size() > cricket::kMaxTurnServers) {
|
||||||
turn_servers.size() > cricket::kMaxTurnServers) {
|
|
||||||
RTC_LOG(LS_WARNING) << "Number of configured TURN servers is "
|
RTC_LOG(LS_WARNING) << "Number of configured TURN servers is "
|
||||||
<< turn_servers.size()
|
<< turn_servers.size()
|
||||||
<< " which exceeds the maximum allowed number of "
|
<< " which exceeds the maximum allowed number of "
|
||||||
|
|
Loading…
Reference in a new issue