gemercheung 3 năm trước cách đây
mục cha
commit
7d09720f6f
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. 2 4
      src/scene/scene.service.ts

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

@@ -337,8 +337,6 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
       this.logger.error('rotate', error.message);
       console.error('error', error);
     }
-    //   },
-    // );
   }
 
   async walking(request: MoveRequest) {
@@ -573,7 +571,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
           console.warn('joystick-move无数据');
         }
       } else {
-        console.warn('joystick-接收人物数据', this.onMoving.getValue());
+        console.log('joystick-接收人物数据', this.onMoving.getValue());
         if (!this.onMoving.getValue()) {
           // 在非行走时接受
           this.holdSteam();
@@ -686,7 +684,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
         );
         console.log(
           '[media-move-lastMovingPointArray]',
-          this.lastMovingPointArray,
+          JSON.stringify(this.lastMovingPointArray),
         );
         this.lastMoveStreamFrame.next(streamData);
         const res = await this.streamService.pushFrameToSteam(streamData);