tinyStream : Minimal Webcam streaming server grabs camera frames and streams to desired port and supports multiple clients.
mkdir build && cd build
cmake ..
make
Stream deafault usb camera by executing tinyStream
./tinyStream
Use multiple usb cameras by passing camera index in command line argument, for example two usb cameras /dev/video0
and /dev/video2
be streamed by passing there index '0' and '2' respectively in command line argument shall stream camera id 0 on port 8080
and camera id 2 on 8081
./tinyStream 0 2