gemercheung 3 년 전
부모
커밋
101ddc0816
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/scene/scene.service.ts

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

@@ -927,6 +927,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
           this.testTimer = 0;
           //this.handleJoystickStop(hasPush);
           this.globalOptLock = false;
+          this.resumeStream();
         }
       } else {
         this.handleJoystickStop(hasPush);
@@ -1007,7 +1008,7 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
         }
       } else {
         console.log('handlejoystick:null');
-        // this.onJoysticking.next(false);
+        this.onJoysticking.next(false);
       }
     } catch (error) {
       console.error('joystick错误', error);