Add config continualGatheringPolicy to the IOS RTCConfiguration.
BUG= R=tkchin@webrtc.org Review URL: https://codereview.webrtc.org/1971563002 . Cr-Commit-Position: refs/heads/master@{#12689}
This commit is contained in:
@ -41,6 +41,8 @@
|
||||
config.audioJitterBufferMaxPackets = maxPackets;
|
||||
config.iceConnectionReceivingTimeout = timeout;
|
||||
config.iceBackupCandidatePairPingInterval = interval;
|
||||
config.continualGatheringPolicy =
|
||||
RTCContinualGatheringPolicyGatherContinually;
|
||||
|
||||
webrtc::PeerConnectionInterface::RTCConfiguration nativeConfig =
|
||||
config.nativeConfiguration;
|
||||
@ -60,6 +62,8 @@
|
||||
EXPECT_EQ(maxPackets, nativeConfig.audio_jitter_buffer_max_packets);
|
||||
EXPECT_EQ(timeout, nativeConfig.ice_connection_receiving_timeout);
|
||||
EXPECT_EQ(interval, nativeConfig.ice_backup_candidate_pair_ping_interval);
|
||||
EXPECT_EQ(webrtc::PeerConnectionInterface::GATHER_CONTINUALLY,
|
||||
nativeConfig.continual_gathering_policy);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user