no delay broker option check"

This commit is contained in:
2026-07-05 12:25:11 +05:00
parent 45a31c7210
commit 37539469de
5 changed files with 10 additions and 21 deletions

View File

@@ -21,6 +21,7 @@ function getClients(cameraId: string): Set<WebSocket> {
wss.on('connection', (ws: WebSocket, req: IncomingMessage) => {
log(`ws.connection ${req.url}`);
req.socket.setNoDelay(true)
const cameraId = req.url ? lastTopicSegment(req.url) : 'v1';
const clients = getClients(cameraId);