소스 검색

update expirexx

lang 4 년 전
부모
커밋
b76951f3c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,