Explorar o código

update expirexx

lang %!s(int64=4) %!d(string=hai) anos
pai
achega
b76951f3c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -306,7 +306,7 @@ class oa2RtspStartView(TemplateView):
             # stream_name = threading.Thread(target=self.runSendStop,args=(UID, PWD, MSG))
             # stream_name.start()
             #----------/新增关闭流的线程
-            stop_time = int(time.time()) + 1*60
+            stop_time = int(time.time()) + 2*60 + 8*3600
             expirationTime = time.strftime('%Y-%m-%dT%H:%MZ',time.localtime(stop_time))
             res_json = {
                 'endpointId': id,