付智勇

no message

... ... @@ -7,14 +7,14 @@ function shell(){
shell.prototype.Recording =async(appId,uid,channel,channelKey)=>{
return new Promise((resolve, reject) =>{
let shell =`pwd && ./Recorder_local`+
let shell =`cd util/Agora_Recording_SDK_for_Linux_FULL/samples/ && ./Recorder_local`+
` --appId ` +appId +
` --uid ` +uid +
` --channel ` + channel +
` --channelKey ` + channelKey +
" --appliteDir \`pwd\`/../bin";
console.log(shell)
callfile.exec('pwd',function(err, stdout, stderr){
callfile.exec(shell,function(err, stdout, stderr){
console.log(arguments);
if(err){
reject(err);
... ...