chenjunkai 5 lat temu
rodzic
commit
c2952a4408
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -221,7 +221,7 @@ class oa2RtspStartView(TemplateView):
             return JsonResponse({'msg': 'wrong'})
 
     def runSendRtspMsg(self, UID, PWD, MSG):
-        command = "./test {UID} {PWD} {MSG}".format(UID=UID, PWD=PWD, MSG=MSG)
+        command = "./pushtool {UID} {PWD} {MSG} 1".format(UID=UID, PWD=PWD, MSG=MSG)
         print('command=>{command}'.format(command=command))
         back = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate(
             timeout=10)