Provides browser-ready access to a live CCTV feed. Lighweight design to fit on small hardware.
🐳 Make sure you have installed Docker.
- Follow "How to get a pre-built Docker image?"
- Start a Docker instance:
$ docker run \
--rm \
-t \
--device=/dev/video0 \
-p 80:80 \
ianstorm/cctv2http:latest
- The (HLS) live stream is available via
http://127.0.0.1/live.m3u8
.
Make sure to have installed Visual Studio Code.
- Clonse this repository, open the cloned folder in vscode.
- Install the recommended extensions.
- Update
root/entrypoint.sh
to use a dummy RSTP stream: Replace-f <something> -i <something> \
by:
-stream_loop -1 \
-rtsp_transport tcp \
-i rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov \
- Build & start a Docker instance: Run the vscode task
run
. - The (HLS) live stream is available via
http://127.0.0.1:8080/live.m3u8
.
Get the latest Docker image from Docker Hub:
$ docker pull ianstorm/cctv2http:latest
- Setting up HLS live streaming server using NGINX
- GitHub: arut/nginx-rtmp-module
- Transcode to HLS live stream
- GH mpromonet/v4l2rtspserver, if HLS feature would work
- GH Roverr/rtsp-stream, if Docker image was available for ARM
- GH ccrisan/motioneyeos