I'm trying to establish a system capable of broadcasting the screen capture of a pc to several other pcs on a LAN.
So far I managed to install nginx on a Raspberry Pi with the rtmp module and I can stream using the Raspberry as a RTMP Server via OBS. I use VLC to watch the stream.
Here is the problem. The main pc doing the broadcast will be displaying a timer that counts down and potentially camera feeds so it would be ideal to keep the broadcast delay to a minimum (real time?). I currently have a 4-6 seconds delay between what is happening on the screen and the stream and am looking for ways to further reduce it.
- Is there a way to determine how much of that delay time is due to encoding and how much of it is due to transfer?
- I am currently capturing at 1080p30 and tried options such as downscaling and minimize network impact to no avail.
- I read other topics concerning LAN broadcast on this forum and someone did mention that RTMP wasn't a good approach...If so what would be a better approach?
- Any suggestions are welcome and appreciated. I am mostly interested in free solutions as I have no budget and doing this for free for someone else.
- I also did look into VLC streaming but I don't want to show the whole screen of the pc as there would be controls that the viewers don't have to see. And the only thing VLC can do about it is to specify which part of the screen to broadcast which doesn't seem like a great solution. I chose OBS because it's the only free broadcasting software that can broadcast a specific window to my knowledge.
Thanks in advance :)