chanjunkai 5 年之前
父节点
当前提交
0f41e5c2c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -272,9 +272,9 @@ class oa2RtspStartView(TemplateView):
         except Exception as e:
             return False
         else:
-            return str(back[0].decode())+str(back[1].decode())
             print("back0----", back[0].decode())  # 注意需要进行解码操作,默认输出的是字节
             print("back1----", back[1].decode())  # back是一个元祖,可以通过元祖取值的方式获取结果
+            return str(back[0].decode())+str(back[1].decode())
             return True
 
     def runSendStop(self, UID, PWD, MSG):