@@ -1061,7 +1061,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
// this.logger.log('path-update-index', isLastFrameIndex);
if (res.done) {
- await this.sleep(20);
+ await this.sleep(40);
this.frameCnt.next(res.frame);
//关节点入库
if (isLastFrameIndex > -1) {
@@ -219,7 +219,6 @@ export class StreamService {
let isPush: boolean;
// this.logger.log('statusPack', statusPack);
if (this.channel && this.channel.isOpen()) {
- await this.sleep(0.5);
isPush = this.channel.sendMessageBinary(
Buffer.from(framePack.buffer),
);