| Index: talk/app/webrtc/objc/RTCPeerConnectionInterface.mm
|
| diff --git a/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm b/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm
|
| index 58d12ace4caaf87377a6d49587e4ac865251ac4c..b260b6352c3d0a0f9aa51566c4461163c856a653 100644
|
| --- a/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm
|
| +++ b/talk/app/webrtc/objc/RTCPeerConnectionInterface.mm
|
| @@ -39,6 +39,7 @@
|
| @synthesize tcpCandidatePolicy = _tcpCandidatePolicy;
|
| @synthesize audioJitterBufferMaxPackets = _audioJitterBufferMaxPackets;
|
| @synthesize iceConnectionReceivingTimeout = _iceConnectionReceivingTimeout;
|
| +@synthesize iceBackupConnectionPingInterval = _iceBackupConnectionPingInterval;
|
|
|
| - (instancetype)init {
|
| if (self = [super init]) {
|
| @@ -51,6 +52,7 @@
|
| [RTCEnumConverter tcpCandidatePolicyForNativeEnum:config.tcp_candidate_policy];
|
| _audioJitterBufferMaxPackets = config.audio_jitter_buffer_max_packets;
|
| _iceConnectionReceivingTimeout = config.ice_connection_receiving_timeout;
|
| + _iceBackupConnectionPingInterval = config.ice_backup_connection_ping_interval;
|
| }
|
| return self;
|
| }
|
| @@ -60,7 +62,8 @@
|
| rtcpMuxPolicy:(RTCRtcpMuxPolicy)rtcpMuxPolicy
|
| tcpCandidatePolicy:(RTCTcpCandidatePolicy)tcpCandidatePolicy
|
| audioJitterBufferMaxPackets:(int)audioJitterBufferMaxPackets
|
| - iceConnectionReceivingTimeout:(int)iceConnectionReceivingTimeout {
|
| + iceConnectionReceivingTimeout:(int)iceConnectionReceivingTimeout
|
| + iceBackupConnectionPingInterval:(int)iceBackupConnectionPingInterval {
|
| if (self = [super init]) {
|
| _iceTransportsType = iceTransportsType;
|
| _bundlePolicy = bundlePolicy;
|
| @@ -68,6 +71,7 @@
|
| _tcpCandidatePolicy = tcpCandidatePolicy;
|
| _audioJitterBufferMaxPackets = audioJitterBufferMaxPackets;
|
| _iceConnectionReceivingTimeout = iceConnectionReceivingTimeout;
|
| + _iceBackupConnectionPingInterval = iceBackupConnectionPingInterval;
|
| }
|
| return self;
|
| }
|
| @@ -85,8 +89,8 @@
|
| nativeConfig.tcp_candidate_policy =
|
| [RTCEnumConverter nativeEnumForTcpCandidatePolicy:_tcpCandidatePolicy];
|
| nativeConfig.audio_jitter_buffer_max_packets = _audioJitterBufferMaxPackets;
|
| - nativeConfig.ice_connection_receiving_timeout =
|
| - _iceConnectionReceivingTimeout;
|
| + nativeConfig.ice_connection_receiving_timeout = _iceConnectionReceivingTimeout;
|
| + nativeConfig.ice_backup_connection_ping_interval = _iceBackupConnectionPingInterval;
|
| return nativeConfig;
|
| }
|
|
|
|
|