gemercheung 3 anni fa
parent
commit
c0a9b19e12
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/scene/scene.service.ts

+ 1 - 0
src/scene/scene.service.ts

@@ -351,6 +351,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
       IDRflag,
       new Date().getTime(),
     );
+    await this.sleep(2);
     const res = await this.streamService.pushFrameToSteam(stream);
     if (res.done) {
       this.frameCnt.next(res.frame);