From b469805b2d0c9b23ca020cf9356ff137205f856c Mon Sep 17 00:00:00 2001
From: 464027401@qq.com <464027401@qq.com>
Date: 星期一, 27 九月 2021 10:22:10 +0800
Subject: [PATCH] 修复来点页面重复呼叫时alert位置不对问题

---
 HDLLinPhoneSDK(OC)/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h" "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h"
index 43c3137..ab69322 100644
--- "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h"
+++ "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneProviderDelegate.h"
@@ -16,23 +16,24 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-
-#import <CallKit/CallKit.h>
+#import <Foundation/Foundation.h>
+//#import <CallKit/CallKit.h>
+#import <AVFoundation/AVAudioSession.h>
 #include <linphone/core.h>
 #ifndef ProviderDelegate_h
 #define ProviderDelegate_h
 
-@interface HDLLinphoneProviderDelegate : NSObject <CXProviderDelegate, CXCallObserverDelegate>
-
-@property CXProvider *provider;
-@property CXCallObserver *observer;
-@property CXCallController *controller;
+@interface HDLLinphoneProviderDelegate : NSObject
+// <CXProviderDelegate, CXCallObserverDelegate>
+//@property CXProvider *provider;
+//@property CXCallObserver *observer;
+//@property CXCallController *controller;
 @property NSMutableDictionary *calls;
 @property NSMutableDictionary *uuids;
 @property(nonatomic) LinphoneCall *pendingCall;
 @property LinphoneAddress *pendingAddr;
 @property BOOL pendingCallVideo;
-@property int callKitCalls;
+@property int callKCalls;
 
 - (void)reportIncomingCall:(LinphoneCall *) call withUUID:(NSUUID *)uuid handle:(NSString *)handle video:(BOOL)video;
 - (void)config;

--
Gitblit v1.8.0