gemercheung 3 éve
szülő
commit
5db1e1187a
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      src/scene/scene.service.ts

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

@@ -1174,7 +1174,10 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
     // this.startStream();
     // this.handleStream();
     this.channel.onBufferedAmountLow(() => {
-      console.log('onBufferedAmountLow');
+      console.error('onBufferedAmountLow');
+      this.logger.error('onBufferedAmountLow');
+      //64k
+      this.channel.setBufferedAmountLowThreshold(65536);
     });
   }