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/linphone.framework/Headers/enums/call-enums.h | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/call-enums.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/call-enums.h
index 9521bfb..bc1a824 100755
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/call-enums.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/call-enums.h
@@ -29,6 +29,7 @@
typedef enum _LinphoneCallState{
LinphoneCallStateIdle, /**< Initial state */
LinphoneCallStateIncomingReceived, /**< Incoming call received */
+ LinphoneCallStatePushIncomingReceived, /**< PushIncoming call received */
LinphoneCallStateOutgoingInit, /**< Outgoing call initialized */
LinphoneCallStateOutgoingProgress, /**< Outgoing call in progress */
LinphoneCallStateOutgoingRinging, /**< Outgoing call ringing */
@@ -50,12 +51,40 @@
LinphoneCallStateEarlyUpdating, /**< We are updating the call while not yet answered (SIP UPDATE in early dialog sent) */
} LinphoneCallState;
+/**
+ * #LinphoneAudioDeviceType enum represents the different types of an audio device.
+ * @ingroup audio
+ */
+typedef enum _LinphoneAudioDeviceType {
+ LinphoneAudioDeviceTypeUnknown, /** Unknown */
+ LinphoneAudioDeviceTypeMicrophone, /** Microphone */
+ LinphoneAudioDeviceTypeEarpiece, /** Earpiece */
+ LinphoneAudioDeviceTypeSpeaker, /** Speaker */
+ LinphoneAudioDeviceTypeBluetooth, /** Bluetooth */
+ LinphoneAudioDeviceTypeBluetoothA2DP, /** Bluetooth A2DP */
+ LinphoneAudioDeviceTypeTelephony, /** Telephony */
+ LinphoneAudioDeviceTypeAuxLine, /** AuxLine */
+ LinphoneAudioDeviceTypeGenericUsb, /** GenericUsb */
+ LinphoneAudioDeviceTypeHeadset, /** Headset */
+ LinphoneAudioDeviceTypeHeadphones, /** Headphones */
+} LinphoneAudioDeviceType;
+
+/**
+ * #LinphoneAudioDeviceCapabilities enum represents whether a device can record audio, play audio or both
+ * @ingroup audio
+ */
+typedef enum _LinphoneAudioDeviceCapabilities {
+ LinphoneAudioDeviceCapabilityRecord = 1 << 0, /** Can record audio */
+ LinphoneAudioDeviceCapabilityPlay = 1 << 1, /** Can play audio */
+} LinphoneAudioDeviceCapabilities;
+
// =============================================================================
// DEPRECATED
// =============================================================================
#define LinphoneCallIdle LinphoneCallStateIdle
#define LinphoneCallIncomingReceived LinphoneCallStateIncomingReceived
+#define LinphoneCallPushIncomingReceived LinphoneCallStatePushIncomingReceived
#define LinphoneCallOutgoingInit LinphoneCallStateOutgoingInit
#define LinphoneCallOutgoingProgress LinphoneCallStateOutgoingProgress
#define LinphoneCallOutgoingRinging LinphoneCallStateOutgoingRinging
--
Gitblit v1.8.0