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