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/mediastreamer2.framework/Headers/ice.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/ice.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/ice.h index d041d88..2fa33da 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/ice.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/mediastreamer2.framework/Headers/ice.h @@ -129,6 +129,7 @@ bool_t forced_relay; /**< Force use of relay by modifying the local and reflexive candidates */ bool_t turn_enabled; /**< TURN protocol enabled */ bool_t short_turn_refresh; /**< Short TURN refresh for tests */ + bool_t default_candidates_prefer_ipv6; /** < Whether ipv6 candidates should be prefered compared to their ipv4 equivalent as "default candidate" */ } IceSession; typedef struct _IceStunServerRequestTransaction { @@ -289,6 +290,11 @@ **/ MS2_PUBLIC void ice_session_set_default_candidates_types(IceSession *session, const IceCandidateType types[ICT_CandidateTypeMax]); + +/** + * Set the AF_INET/AF_INET6 preference for electing the default candidates, when both are available. + */ +MS2_PUBLIC void ice_sesession_set_default_candidates_ip_version(IceSession *session, bool_t ipv6_preferred); /** * Destroy a previously allocated ICE session. * -- Gitblit v1.8.0