Selaa lähdekoodia

update expirexx

lang 4 vuotta sitten
vanhempi
commit
b76951f3c4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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,