From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 02 九月 2022 14:56:40 +0800 Subject: [PATCH] 更新linphone sdk --- HDLLinPhoneSDK(OC)/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/belle-sip.framework/Headers/provider.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/belle-sip.framework/Headers/provider.h" "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/belle-sip.framework/Headers/provider.h" index 1d1fda3..affcc06 100755 --- "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/belle-sip.framework/Headers/provider.h" +++ "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/belle-sip.framework/Headers/provider.h" @@ -56,6 +56,15 @@ BELLESIP_EXPORT void belle_sip_provider_clean_channels(belle_sip_provider_t *p); +/* Close connections for which no data was received at all during last X seconds period of time. + * This is useful because some routers don't send ICMP or TCP connection reset when they reallocate a port. + * For the client, the connection is presumed to be alive, but in practice it is not and there will never be any error. + * As a workaround, simply close these connections, and let the stack re-establish new ones, while refreshing registration for example. + * The time period after which a channel is considered as "unreliable" is configured with + * belle_sip_stack_set_unreliable_connection_timeout(belle_sip_stack_t *stack); + */ +BELLESIP_EXPORT void belle_sip_provider_clean_unreliable_channels(belle_sip_provider_t *p); + /** * Add auth info to the request if found * @param p object -- Gitblit v1.8.0