webcam-stream
webcam-stream copied to clipboard
Fixing the delay
Hi, in your tutorial, you said that there is a delay in the video stream and i can also see that there is a some seconds of delay. Do you know if there is a way to fix this issue or reduce delay as small as possible? Regards
Same here. Would highly appreciate if this was fixable. I am running on a RPi 3 Model A with stock ffmpeg from the RaspberryPi OS APT and compiled nginx as described in the manual.
CPU is at around 20% and Memory at 197M/366M according to htop with 128M dedicated to the GPU.
@ishansheth @DaCapitalist I actually retired the setup (the use-case I had in mind went away). But if I were to do it from scratch now, I'd probably go with webrtc over HLS. Peer Connection + (maybe public?) ICE server for cases with NAT in place. That should give under 1s delays in video and audio.
Would probably play around with something like https://github.com/pion for the webrtc version.