chenjunkai 5 年之前
父節點
當前提交
3d56a8cfb0
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      controller/index.py

+ 3 - 3
controller/index.py

@@ -141,9 +141,9 @@ class oa2RtspStartView(TemplateView):
         UID = request_dict.get("UID", '')
         UID = request_dict.get("UID", '')
         PWD = request_dict.get("PWD", '')
         PWD = request_dict.get("PWD", '')
         MSG = request_dict.get("MSG", '')
         MSG = request_dict.get("MSG", '')
-        po = Pool(10)
-        po.apply_async(self.runSendRtspMsg, (UID, PWD, MSG))
-        # self.runSendRtspMsg(UID, PWD, MSG)
+        # po = Pool(10)
+        # po.apply_async(self.runSendRtspMsg, (UID, PWD, MSG))
+        self.runSendRtspMsg(UID, PWD, MSG)
         response = ResObject()
         response = ResObject()
         return response.json(0, {'res': 'yes'})
         return response.json(0, {'res': 'yes'})