chenjunkai 5 년 전
부모
커밋
5babbf0000
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -194,7 +194,7 @@ class oa2RtspStartView(TemplateView):
             print(UID)
             print(PWD)
             print(MSG)
-            if st:
+            if int(st) == 1:
                 send_flag = self.runSendStop(UID, PWD, MSG)
                 if send_flag:
                     return JsonResponse({'msg': 'stop yes', 'code': 0})