Forget to start Encode Daemon TAT

This commit is contained in:
Jerry Yan 2019-03-10 10:56:58 +08:00
parent 1e039fb1c9
commit d9627a3ced

View File

@ -172,6 +172,9 @@ if __name__ == "__main__":
_preT = datetime.strftime(datetime.now(), "%Y%m%d_%H%M.ts")
t = threading.Thread(target=download, args=(_preT,))
ut = threading.Thread(target=upload, args=(d,))
et = threading.Thread(target=encode)
et.setDaemon(True)
et.start()
while True:
if api.isLive: