|
|
@@ -882,10 +882,11 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
|
if (hasPush.done) {
|
|
|
this.isJoystickHasStream = true;
|
|
|
console.log('joystick-hasPush', hasPush);
|
|
|
+ // if (this.isJoystickHasStream) {
|
|
|
+ // await this.sleep(20);
|
|
|
+ // }
|
|
|
+ await this.sleep(20);
|
|
|
this.frameCnt.next(hasPush.frame);
|
|
|
- if (this.isJoystickHasStream) {
|
|
|
- await this.sleep(20);
|
|
|
- }
|
|
|
this.moveService.sendingFrameForJoystick = false;
|
|
|
const data = joystickRes as StreamReplyType;
|
|
|
console.log('handlejoystick-isIDR:' + data.isIDR);
|