Dear Loopy,
First, thanks so much for this great open source project!! 🙌
🧐 during streams, I noticed an odd OBS-Websocket connection being opened and closed every second. I traced it back to SRT Stats Monitor. It seems bad, despite harmless. It is also bloating the OBS log files.
Why not have SRT Monitor open a single web socket for the duration of the program's lifetime? ✨
SRT Stats Monitor's current implementation calls separate nodeJS scripts that each open and close their own websocket every single time they are run. I wonder how to make it work for a persistent socket, but it seems the entire approach would need to change.
The nodeJS scripts could be consolidated into a single script that opens the websocket once, and then communicates with the main program on a named pipe. 🤔
Hope this helps
Faithfully,
Bazz