gemercheung hace 3 años
padre
commit
101ddc0816
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);