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/HDLLinPhoneSDK/HDLLinphoneManager.h |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneManager.h b/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneManager.h
index b4e7cd5..4548bf3 100644
--- a/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneManager.h
+++ b/HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneManager.h
@@ -30,7 +30,15 @@
     SystemSoundID vibrate;
 } LinphoneManagerSounds;
 
-@interface HDLLinphoneManager : NSObject
+typedef struct _CallContext {
+    LinphoneCall* call;
+    bool_t cameraIsEnabled;
+} CallContext;
+
+@interface HDLLinphoneManager : NSObject{
+@public
+    CallContext currentCallContextBeforeGoingBackground;
+}
 - (void)launchLinphoneCore;
 + (HDLLinphoneManager*)instance;
 + (NSString*)bundleFile:(NSString*)file;
@@ -45,7 +53,11 @@
 -(void)initalLinPhonal;
 -(void)snapShot;//瑙嗛鎴浘
 -(void)snapShotWithView:(UIView *)view;//瑙嗛鎴浘
-
+-(void)removeAllAccounts;//娉ㄩ攢鐧诲綍
+-(void)clearConfigs;//娓呴櫎閰嶇疆琛�
+- (BOOL)enterBackgroundMode;
+-(void)willResignActive;
+- (void)becomeActive ;
 @property (readonly) const char*  frontCamId;
 @property (readonly) const char*  backCamId;
 @property (readonly) LinphoneManagerSounds sounds;

--
Gitblit v1.8.0