chenqiyang
2021-09-01 8fb1bc18bad99b2de79783848b41d07da01315a7
HDLLinPhoneSDK/HDLLinPhoneSDK/HDLLinphoneIntercomVC.m
@@ -67,7 +67,7 @@
    [self initCentetView];
    [self initData];
    [self initESVideo];
    //开始反呼
    //开始震动
    [self StartReverseCall];
    [self ShowCalltimeBtn:callingStr];
    //注册开锁成功监听
@@ -252,6 +252,7 @@
    [_screenshotImgBtn setImage:[UIImage imageNamed:@"ic_esvideo_on_takephoto_unselect"] forState:UIControlStateNormal];
    
    //截图
    [HDLLinphoneManager.instance snapShotWithView:self.videoView];
    
}
@@ -346,7 +347,7 @@
//    [[HDLCallManager instance] acceptCallByCallID:self.CallId hasVideo:self.hasVideo];
    [[HDLLinphoneManager instance] acceptCall];
    /// 开启对讲
    [self startTalk];
//    [self startTalk];
    
    _answerImgBtn.hidden = YES;
    _answerTextBtn.hidden = YES;
@@ -519,7 +520,7 @@
/** 开启倒计时 */
- (void)startOpenDoorCountdown {
    
    if (_openDoorTimeout > 20) {
    if (_openDoorTimeout > 10) {
        return;
    }
    
@@ -534,7 +535,7 @@
    
    dispatch_source_set_event_handler(_openDoorTimer, ^{
        WEAKSELF_AT
        if(weakSelf_AT.openDoorTimeout >= 20 ){// 计时结束
        if(weakSelf_AT.openDoorTimeout >= 10 ){// 计时结束
            // 关闭定时器
            dispatch_source_cancel(weakSelf_AT.openDoorTimer);