gemercheung 3 년 전
부모
커밋
60a9093957
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      src/scene/stream/stream.service.ts

+ 2 - 5
src/scene/stream/stream.service.ts

@@ -224,14 +224,11 @@ export class StreamService {
               Buffer.from(framePack.buffer),
             );
             if (!isPush) {
-              // await this.sleep(5);
-              console.error('流测试推不成功-1试', isPush);
+              await this.sleep(10);
               isPush = this.channel.sendMessageBinary(
                 Buffer.from(framePack.buffer),
               );
-              if (!isPush) {
-                console.error('流测试推不成功-2试', isPush);
-              }
+              console.error('流测试推不成功-二次试', i, isPush);
             }
 
             if (i === slices) {