Do not read from second streamer

This commit is contained in:
Mid 2024-12-22 11:27:28 +02:00
parent 02f64a39d9
commit 850baf67cd

1
main.c
View File

@ -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;
}