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连接选择 --- HDLLinPhoneSDK(OC)/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/linphone.framework/Headers/enums/security-event-enums.h | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/linphone.framework/Headers/enums/security-event-enums.h" "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/linphone.framework/Headers/enums/security-event-enums.h" old mode 100644 new mode 100755 index 2af9765..15ba6c5 --- "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/linphone.framework/Headers/enums/security-event-enums.h" +++ "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/linphone-sdk/apple-darwin/Frameworks/linphone.framework/Headers/enums/security-event-enums.h" @@ -22,11 +22,18 @@ // ============================================================================= -#define L_ENUM_VALUES_SECURITY_EVENT_TYPE(F) \ - F(None /**< Event is not a security event */) \ - F(SecurityLevelDowngraded /**< Chatroom security level downgraded event */) \ - F(ParticipantMaxDeviceCountExceeded /**< Participant has exceeded the maximum number of device event */) \ - F(EncryptionIdentityKeyChanged /**< Peer device instant messaging encryption identity key has changed event */) \ - F(ManInTheMiddleDetected /**< Man in the middle detected event */) \ +/** + * #LinphoneSecurityEventType is used to indicate the type of security event. + * @ingroup events + */ + +typedef enum _SecurityEventType{ + LinphoneSecurityEventTypeNone, /**< Event is not a security event */ + LinphoneSecurityEventTypeSecurityLevelDowngraded, /**< Chatroom security level downgraded event */ + LinphoneSecurityEventTypeParticipantMaxDeviceCountExceeded, /**< Participant has exceeded the maximum number of device event */ + LinphoneSecurityEventTypeEncryptionIdentityKeyChanged, /**< Peer device instant messaging encryption identity key has changed event */ + LinphoneSecurityEventTypeManInTheMiddleDetected, /**< Man in the middle detected event */ +} LinphoneSecurityEventType; + #endif // ifndef _L_SECURITY_EVENT_ENUMS_H_ -- Gitblit v1.8.0