From 8fb1bc18bad99b2de79783848b41d07da01315a7 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 01 九月 2021 17:04:05 +0800
Subject: [PATCH] 采用纯oc sdk解决版本适配问题;解决呼叫不能截屏问题

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/enums/call-enums.h |   53 ++++++++++++++++++++++++-----------------------------
 1 files changed, 24 insertions(+), 29 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 100755
new mode 100644
index 9521bfb..f408c1e
--- 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,34 +21,29 @@
 #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 */
-	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&apos;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&apos;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) */)
 
 // =============================================================================
 // DEPRECATED
@@ -72,8 +67,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