正在显示
1 个修改的文件
包含
2 行增加
和
3 行删除
| @@ -31,10 +31,9 @@ shell.prototype.Recording =async(appId,uid,channel,channelKey,body)=>{ | @@ -31,10 +31,9 @@ shell.prototype.Recording =async(appId,uid,channel,channelKey,body)=>{ | ||
| 31 | }); | 31 | }); |
| 32 | if(body.status == 1){ | 32 | if(body.status == 1){ |
| 33 | console.log('START',json) | 33 | console.log('START',json) |
| 34 | - setTimeout(function() { | ||
| 35 | - console.log( ws.readyState) | 34 | + setTimeout(function() { |
| 36 | ws.send(JSON.stringify(json)) | 35 | ws.send(JSON.stringify(json)) |
| 37 | - }, 20); | 36 | + }, 50); |
| 38 | }else if(body.status == 2){ | 37 | }else if(body.status == 2){ |
| 39 | json.type = 'STOP' | 38 | json.type = 'STOP' |
| 40 | setTimeout(function() { | 39 | setTimeout(function() { |
-
请 注册 或 登录 后发表评论