From 2265a8478325a04871aab6a86d49c28d7d65443a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 29 五月 2023 15:17:01 +0800 Subject: [PATCH] 增加开锁二次确认弹窗 --- 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