|
@@ -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);
|