update
This commit is contained in:
parent
9883fff26a
commit
a4c81655bc
2
test.py
2
test.py
|
@ -41,7 +41,7 @@ user_sched = {}
|
||||||
|
|
||||||
async def close(username, device):
|
async def close(username, device):
|
||||||
# 倒计时600秒
|
# 倒计时600秒
|
||||||
await asyncio.sleep(180)
|
await asyncio.sleep(600)
|
||||||
user_sched.pop(username)
|
user_sched.pop(username)
|
||||||
print("结束推流")
|
print("结束推流")
|
||||||
close_stream(username, device)
|
close_stream(username, device)
|
||||||
|
|
Loading…
Reference in New Issue