From be56723cce4cd60ddc144ebe6ac20607675b3006 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 17 七月 2024 09:33:38 +0800 Subject: [PATCH] 更新sdk --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/belle-sip.framework/Headers/provider.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/belle-sip.framework/Headers/provider.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/belle-sip.framework/Headers/provider.h index 1d1fda3..affcc06 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/belle-sip.framework/Headers/provider.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/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