test pc 3 年之前
父节点
当前提交
abaa26c857
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/move/move.service.ts

+ 6 - 0
src/move/move.service.ts

@@ -1388,6 +1388,12 @@ export class MoveService implements OnModuleInit {
 
       if (cameraInfo.mediaSrc) {
         this.reply.mediaSrc = cameraInfo.mediaSrc;
+        if(this.cameraInfos.length == 0){
+          this.reply.moveStart = true;
+        }
+        else{
+          this.reply.moveStart = false;
+        }
       }
 
       user.camera.position = JSON.parse(