付智勇

录制

... ... @@ -17,13 +17,13 @@ shell.prototype.Recording =async(appId,uid,channel,channelKey,body)=>{
var channelInfo = await recordStatus.findOne({where:{channel:channel}});
let r = await recordInfo.create(body);
if(channelInfo){
if(channelInfo.status == 0){
if(body.status == 2){
var channelInfo = await recordStatus.update({status:1},{where:{channel:channel}});
}else if(channelInfo.status == 1){
}else {
throw false ;
}
}else{
var channelInfo = await recordStatus.create({id:uuid.db32(),channel:channel,status:1});
var channelInfo = await recordStatus.create({id:uuid.db32(),channel:channel,status:body.status});
}
let shell =`cd /netWorkSchool/Agora_Recording_SDK_for_Linux_FULL/samples/ && ./Recorder_local`+
` --appId ` +appId +
... ...