|
@@ -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)
|