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(OC)/HDLLinPhoneSDK/HDLLinphoneManager.h | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneManager.h" "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneManager.h" index 0e69526..b5181a7 100644 --- "a/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneManager.h" +++ "b/HDLLinPhoneSDK\357\274\210OC\357\274\211/HDLLinPhoneSDK/HDLLinphoneManager.h" @@ -22,6 +22,7 @@ #import <AudioToolbox/AudioToolbox.h> #import <Photos/Photos.h> #import <CoreTelephony/CTCallCenter.h> +#import "HDLLinphoneIntercomVC.h" #import <sqlite3.h> @@ -108,6 +109,11 @@ @public CallContext currentCallContextBeforeGoingBackground; } + +@property (nonatomic, assign) BOOL isResettingVideoEnable;//鏄惁姝e湪閲嶈瑙嗛寮�鍏� + +@property (nonatomic, assign) HDLLPType deviceType;//绫诲瀷 + + (HDLLinphoneManager*)instance; #ifdef DEBUG + (void)instanceRelease; @@ -204,6 +210,8 @@ - (void)migrationPerAccount; - (void)login:(NSString*)username password:(NSString*)pwd domain:(NSString*) domain; +- (void)udpLogin:(NSString*)username password:(NSString*)pwd domain:(NSString*) domain; +- (void)tcpLogin:(NSString*)username password:(NSString*)pwd domain:(NSString*) domain; -(void)initalLinPhonal; @@ -217,6 +225,10 @@ -(void)enableMicro:(BOOL)enble; +/*鏄惁鍏佽瑙嗛鎾斁 + */ +-(void)enableVideoPlay:(bool_t)enable; + @property HDLLinphoneProviderDelegate *providerDelegate; @property (readonly) BOOL isTesting; -- Gitblit v1.8.0