From b897bf1e118e69764da20ef6668ef5d9ec1653e8 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 25 五月 2023 09:33:38 +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