update
This commit is contained in:
parent
cf50483227
commit
d065e6fc5a
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(40)
|
await asyncio.sleep(600)
|
||||||
user_sched.pop(username)
|
user_sched.pop(username)
|
||||||
print(username + "结束推流")
|
print(username + "结束推流")
|
||||||
close_stream(username, device)
|
close_stream(username, device)
|
||||||
|
|
Loading…
Reference in New Issue