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