From cb9232b3ab413fae7bcc2b94abd70f18ca02b263 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 03 十二月 2024 11:20:32 +0800
Subject: [PATCH] 增加铃声;增加TCP/UDP连接选择
---
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