From 850baf67cd01017df0b33985d6182d056573f483 Mon Sep 17 00:00:00 2001 From: Mid <> Date: Sun, 22 Dec 2024 11:27:28 +0200 Subject: [PATCH] Do not read from second streamer --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 0d9a427..5d2a34e 100644 --- a/main.c +++ b/main.c @@ -61,6 +61,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) { if(!c->is_websocket) { if(streamerConnected && streamerConnected != c) { c->is_closing = 1; + return; } else { streamerConnected = c; }