gemercheung před 3 roky
rodič
revize
60a9093957
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  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) {