修改音视频签名15
This commit is contained in:
parent
4f67eb9df2
commit
156b5ed952
@ -1753,8 +1753,12 @@ class CallBackController extends AbstractController
|
|||||||
return $this->TrtcErrorReturn("缺少房间id");
|
return $this->TrtcErrorReturn("缺少房间id");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($request_params['EventInfo']['EventMsTs']){
|
||||||
|
return $this->TrtcErrorReturn("缺少时间戳");
|
||||||
|
}
|
||||||
|
|
||||||
// 排除数据
|
// 排除数据
|
||||||
if ($request_params['EventGroupId'] != 1){
|
if ($request_params['EventGroupId'] != 1 || $request_params['EventGroupId'] != 2){
|
||||||
return $this->TrtcErrorReturn("回调地址推送错误");
|
return $this->TrtcErrorReturn("回调地址推送错误");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1841,7 +1845,7 @@ class CallBackController extends AbstractController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($user['user_type'] != 1){
|
if ($user['user_type'] != 1){
|
||||||
return $this->TrtcErrorReturn("非患者");
|
return $this->TrtcSuccessReturn();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检测视频状态
|
// 检测视频状态
|
||||||
@ -1867,10 +1871,6 @@ class CallBackController extends AbstractController
|
|||||||
return $this->TrtcErrorReturn("已结束通话,此解散房间动作不做处理");
|
return $this->TrtcErrorReturn("已结束通话,此解散房间动作不做处理");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request_params['EventInfo']['EventMsTs']){
|
|
||||||
return $this->TrtcErrorReturn("缺少时间戳");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 修改视频状态
|
// 修改视频状态
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['records_id'] = $video_record['records_id'];
|
$params['records_id'] = $video_record['records_id'];
|
||||||
@ -1894,10 +1894,6 @@ class CallBackController extends AbstractController
|
|||||||
return $this->TrtcErrorReturn("已开始通话,此视频推流动作不做处理");
|
return $this->TrtcErrorReturn("已开始通话,此视频推流动作不做处理");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request_params['EventInfo']['EventMsTs']){
|
|
||||||
return $this->TrtcErrorReturn("缺少时间戳");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 修改视频状态
|
// 修改视频状态
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['records_id'] = $video_record['records_id'];
|
$params['records_id'] = $video_record['records_id'];
|
||||||
@ -1921,10 +1917,6 @@ class CallBackController extends AbstractController
|
|||||||
return $this->TrtcErrorReturn("已开始通话,此音频推流动作不做处理");
|
return $this->TrtcErrorReturn("已开始通话,此音频推流动作不做处理");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request_params['EventInfo']['EventMsTs']){
|
|
||||||
return $this->TrtcErrorReturn("缺少时间戳");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 修改视频状态
|
// 修改视频状态
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['records_id'] = $video_record['records_id'];
|
$params['records_id'] = $video_record['records_id'];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user