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/lime.framework/Headers/lime.hpp | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp index 3eb5c16..6ab9512 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp @@ -350,6 +350,17 @@ void delete_peerDevice(const std::string &peerDeviceId); /** + * @brief Stale all sessions between localDeviceId and peerDevice. + * If peerDevice keep using this session to encrypt and we decrypt with success, the session will be reactivated + * but to encrypt a message to this peerDevice, a new session will be created. + * If no session is active between the given device, this call has no effect + * + * @param[in] localDeviceId Identify the local user account, it must be unique and is also be used as Id on the X3DH key server, it shall be the GRUU + * @param[in] peerDeviceId The device Id of peer, shall be its GRUU + */ + void stale_sessions(const std::string &localDeviceId, const std::string &peerDeviceId); + + /** * @brief Set the X3DH key server URL for this identified user * * @param[in] localDeviceId Identify the local user account, it must be unique and is also be used as Id on the X3DH key server, it shall be the GRUU -- Gitblit v1.8.0