From cb9232b3ab413fae7bcc2b94abd70f18ca02b263 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 03 十二月 2024 11:20:32 +0800
Subject: [PATCH] 增加铃声;增加TCP/UDP连接选择
---
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