gemercheung 3 anos atrás
pai
commit
60a9093957
1 arquivos alterados com 2 adições e 5 exclusões
  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) {