| Index: webrtc/api/peerconnection.cc
|
| diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc
|
| index e0b4fca48da51692ab734a482bec15a0915d968a..cc33aa88cebb6ce1473009115db4bdf711d51058 100644
|
| --- a/webrtc/api/peerconnection.cc
|
| +++ b/webrtc/api/peerconnection.cc
|
| @@ -2212,7 +2212,8 @@ 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);
|
| + configuration.ice_candidate_pool_size,
|
| + configuration.prune_turn_ports);
|
| return true;
|
| }
|
|
|
| @@ -2228,7 +2229,8 @@ bool PeerConnection::ReconfigurePortAllocator_n(
|
| // 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);
|
| + configuration.ice_candidate_pool_size,
|
| + configuration.prune_turn_ports);
|
| return true;
|
| }
|
|
|
|
|