Add pruneTurnPorts to the IOS RTCConfiguration.
BUG= R=pthatcher@webrtc.org TBR=tkchin@webrt.org Review URL: https://codereview.webrtc.org/2120553002 . Cr-Commit-Position: refs/heads/master@{#13368}
This commit is contained in:
@ -44,6 +44,7 @@
|
||||
config.iceBackupCandidatePairPingInterval = interval;
|
||||
config.continualGatheringPolicy =
|
||||
RTCContinualGatheringPolicyGatherContinually;
|
||||
config.pruneTurnPorts = true;
|
||||
|
||||
std::unique_ptr<webrtc::PeerConnectionInterface::RTCConfiguration>
|
||||
nativeConfig([config createNativeConfiguration]);
|
||||
@ -68,6 +69,7 @@
|
||||
EXPECT_EQ(interval, nativeConfig->ice_backup_candidate_pair_ping_interval);
|
||||
EXPECT_EQ(webrtc::PeerConnectionInterface::GATHER_CONTINUALLY,
|
||||
nativeConfig->continual_gathering_policy);
|
||||
EXPECT_EQ(true, nativeConfig->prune_turn_ports);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user