All setting required to stream video from a webcam attached to a linux box.
- Start the RTSP server with
./start-rtsp-server.sh
. It runs in a docker container which starts upon every reboot. - Start the video stream with
./start-video.sh
. This script pulls raw video from the camera, performs H264 hardware encoding and pushes it to the RTSP server. Fell free to change the parameters based on the camera used. - On the receiving side, the stream can be viewed using
VLC
orffplay
. The RTSP URL should bertsp://<IP of the server>:8554/mystream
.