be more iOS friendly when using TCP or TLS because the phone never sleeps thus drains the battery
This commit is contained in:
parent
54de293b05
commit
159ae98979
|
@ -1477,8 +1477,6 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void
|
||||||
TPTAG_TLS_VERIFY_POLICY(0)),
|
TPTAG_TLS_VERIFY_POLICY(0)),
|
||||||
TAG_IF(sofia_test_pflag(profile, PFLAG_TLS),
|
TAG_IF(sofia_test_pflag(profile, PFLAG_TLS),
|
||||||
TPTAG_TLS_VERSION(profile->tls_version)),
|
TPTAG_TLS_VERSION(profile->tls_version)),
|
||||||
TAG_IF(sofia_test_pflag(profile, PFLAG_TLS),
|
|
||||||
TPTAG_KEEPALIVE(20000)),
|
|
||||||
TAG_IF(!strchr(profile->sipip, ':'),
|
TAG_IF(!strchr(profile->sipip, ':'),
|
||||||
NTATAG_UDP_MTU(65535)),
|
NTATAG_UDP_MTU(65535)),
|
||||||
TAG_IF(sofia_test_pflag(profile, PFLAG_DISABLE_SRV),
|
TAG_IF(sofia_test_pflag(profile, PFLAG_DISABLE_SRV),
|
||||||
|
|
Loading…
Reference in New Issue