From 7960485054f37eb60d63a98231686cef41302a8b Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 11 五月 2022 09:13:56 +0800
Subject: [PATCH] 修改部分方法

---
 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