From cf50483227ed7bdc3be26a1e02e7169d597601a8 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Tue, 2 Jan 2024 12:01:24 +0800 Subject: [PATCH] update --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 6950f0e..b39d5c2 100644 --- a/test.py +++ b/test.py @@ -43,12 +43,12 @@ async def close(username, device): # 倒计时600秒 await asyncio.sleep(40) user_sched.pop(username) - print("结束推流") + print(username + "结束推流") close_stream(username, device) async def task_start(username, device): - print("开始推流") + print(username + "开始推流") push_stream(username, device) task = asyncio.create_task(close(username, device)) user_sched[username] = task