3 ms·
It's super easy to do this. You can hook ffmpeg to capture webcam and send that into nginx. Then, nginx will natively run HLS to stream the video over the web.
by IncRnd 4y ago
It's super easy to do this. You can hook ffmpeg to capture webcam and send that into nginx. Then, nginx will natively run HLS to stream the video over the web.
I do something similar and run nginx in a docker container, so all I need to do is 1) run a docker container and 2) run ffmpeg elsewhere to send an input stream to the docker container. There are tutorials all over the web for doing this. Try searching for "ffmpeg nginx rtmp hls docker" without quotes.