Index: webrtc/api/peerconnection.cc |
diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc |
index b9cb83e724de78db6683bd0dc242afb6d80a928a..b18ddb0c95359f0ac05cc9eeabf660bd567cbdfa 100644 |
--- a/webrtc/api/peerconnection.cc |
+++ b/webrtc/api/peerconnection.cc |
@@ -2172,8 +2172,9 @@ bool PeerConnection::InitializePortAllocator_n( |
// Call this last since it may create pooled allocator sessions using the |
// properties set above. |
- port_allocator_->SetConfiguration(stun_servers, turn_servers, |
- configuration.ice_candidate_pool_size); |
+ port_allocator_->SetConfiguration( |
+ stun_servers, turn_servers, configuration.ice_candidate_pool_size, |
+ configuration.disable_low_priority_turn_ports); |
return true; |
} |
@@ -2188,8 +2189,9 @@ bool PeerConnection::ReconfigurePortAllocator_n( |
ConvertIceTransportTypeToCandidateFilter(configuration.type)); |
// Call this last since it may create pooled allocator sessions using the |
// candidate filter set above. |
- port_allocator_->SetConfiguration(stun_servers, turn_servers, |
- configuration.ice_candidate_pool_size); |
+ port_allocator_->SetConfiguration( |
+ stun_servers, turn_servers, configuration.ice_candidate_pool_size, |
+ configuration.disable_low_priority_turn_ports); |
return true; |
} |