chenqiyang
2021-08-24 8227d1cefb20e357250a4a7fe8da32141b6cfc1e
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;