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 | 80 ++++++++++++++++++++++++++++-----------
1 files changed, 57 insertions(+), 23 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
old mode 100644
new mode 100755
index f408c1e..bc1a824
--- 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
@@ -21,29 +21,62 @@
#define _L_CALL_ENUMS_H_
// =============================================================================
+/**
+ * #LinphoneCallState enum represents the different states a call can reach into.
+ * The application is notified of a state change through the LinphoneCoreVTable::call_state_changed callback.
+ * @ingroup call_control
+ */
+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 */
+ LinphoneCallStateOutgoingEarlyMedia, /**< Outgoing call early media */
+ LinphoneCallStateConnected, /**< Connected */
+ LinphoneCallStateStreamsRunning, /**< Streams running */
+ LinphoneCallStatePausing, /**< Pausing */
+ LinphoneCallStatePaused, /**< Paused */
+ LinphoneCallStateResuming, /**< Resuming */
+ LinphoneCallStateReferred, /**< Referred */
+ LinphoneCallStateError, /**< Error */
+ LinphoneCallStateEnd, /**< Call end */
+ LinphoneCallStatePausedByRemote, /**< Paused by remote */
+ LinphoneCallStateUpdatedByRemote, /**< The call's parameters are updated for example when video is asked by remote */
+ LinphoneCallStateIncomingEarlyMedia, /**< We are proposing early media to an incoming call */
+ LinphoneCallStateUpdating, /**< We have initiated a call update */
+ LinphoneCallStateReleased, /**< The call object is now released */
+ LinphoneCallStateEarlyUpdatedByRemote, /**< The call is updated by remote while not yet answered (SIP UPDATE in early dialog received) */
+ LinphoneCallStateEarlyUpdating, /**< We are updating the call while not yet answered (SIP UPDATE in early dialog sent) */
+} LinphoneCallState;
-#define L_ENUM_VALUES_CALL_SESSION_STATE(F) \
- F(Idle /**< Initial state */) \
- F(IncomingReceived /**< Incoming call received */) \
- F(OutgoingInit /**< Outgoing call initialized */) \
- F(OutgoingProgress /**< Outgoing call in progress */) \
- F(OutgoingRinging /**< Outgoing call ringing */) \
- F(OutgoingEarlyMedia /**< Outgoing call early media */) \
- F(Connected /**< Connected */) \
- F(StreamsRunning /**< Streams running */) \
- F(Pausing /**< Pausing */) \
- F(Paused /**< Paused */) \
- F(Resuming /**< Resuming */) \
- F(Referred /**< Referred */) \
- F(Error /**< Error */) \
- F(End /**< Call end */) \
- F(PausedByRemote /**< Paused by remote */) \
- F(UpdatedByRemote /**< The call's parameters are updated for example when video is asked by remote */) \
- F(IncomingEarlyMedia /**< We are proposing early media to an incoming call */) \
- F(Updating /**< We have initiated a call update */) \
- F(Released /**< The call object is now released */) \
- F(EarlyUpdatedByRemote /**< The call is updated by remote while not yet answered (SIP UPDATE in early dialog received) */) \
- F(EarlyUpdating /**< We are updating the call while not yet answered (SIP UPDATE in early dialog sent) */)
+/**
+ * #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
@@ -51,6 +84,7 @@
#define LinphoneCallIdle LinphoneCallStateIdle
#define LinphoneCallIncomingReceived LinphoneCallStateIncomingReceived
+#define LinphoneCallPushIncomingReceived LinphoneCallStatePushIncomingReceived
#define LinphoneCallOutgoingInit LinphoneCallStateOutgoingInit
#define LinphoneCallOutgoingProgress LinphoneCallStateOutgoingProgress
#define LinphoneCallOutgoingRinging LinphoneCallStateOutgoingRinging
@@ -67,8 +101,8 @@
#define LinphoneCallUpdatedByRemote LinphoneCallStateUpdatedByRemote
#define LinphoneCallIncomingEarlyMedia LinphoneCallStateIncomingEarlyMedia
#define LinphoneCallUpdating LinphoneCallStateUpdating
+#define LinphoneCallEarlyUpdating LinphoneCallStateEarlyUpdating
#define LinphoneCallReleased LinphoneCallStateReleased
#define LinphoneCallEarlyUpdatedByRemote LinphoneCallStateEarlyUpdatedByRemote
-#define LinphoneCallEarlyUpdating LinphoneCallStateEarlyUpdating
#endif // ifndef _L_CALL_ENUMS_H_
--
Gitblit v1.8.0