From 8227d1cefb20e357250a4a7fe8da32141b6cfc1e Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期二, 24 八月 2021 17:29:10 +0800
Subject: [PATCH] 提交原生sdk工程

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