Create a Mjpeg stream of a webcam using PHP
This project is a demo of the library vdechenaux/webcam
composer install
php -d ffi.enable=1 -S localhost:8000 -t public
docker build -t phpwebcam docker
docker run --rm -p 8000:80 -v "$PWD:/src" --device=/dev/video0 -it phpwebcam