修改一些小问题

This commit is contained in:
2025-06-05 08:45:44 +08:00
parent f32cd5b9a2
commit 0cd3d914e9
7 changed files with 31 additions and 84 deletions

View File

@ -15,8 +15,6 @@ class SocketManager:
self.rooms[room].remove(websocket)
if len(self.rooms[room]) == 0:
del self.rooms[room]
if room.startswith('detect_rtsp_'):
print()
async def broadcast_to_room(self, room: str, message: str, exclude_websocket: WebSocket = None):
if room in self.rooms: