正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -32,9 +32,8 @@ shell.prototype.Recording =async(appId,uid,channel,channelKey,body)=>{ | @@ -32,9 +32,8 @@ shell.prototype.Recording =async(appId,uid,channel,channelKey,body)=>{ | ||
| 32 | if(body.status == 1){ | 32 | if(body.status == 1){ |
| 33 | console.log('START',json) | 33 | console.log('START',json) |
| 34 | setTimeout(function() { | 34 | setTimeout(function() { |
| 35 | - console.log( ws.readyState) | ||
| 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() { |
-
请 注册 或 登录 后发表评论