[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
/ cctv2http Public archive

Provides access to CCTV live feed from browser.

Notifications You must be signed in to change notification settings

IanStorm/cctv2http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCTV to HTTP

GitHub Actions Docker Pulls Docker Stars

Provides browser-ready access to a live CCTV feed. Lighweight design to fit on small hardware.

🐳 Make sure you have installed Docker.

How to use in "production"? 👨‍💼 👩‍💼

  1. Follow "How to get a pre-built Docker image?"
  2. Start a Docker instance:
$	docker run \
		--rm \
		-t \
		--device=/dev/video0 \
		-p 80:80 \
		ianstorm/cctv2http:latest
  1. The (HLS) live stream is available via http://127.0.0.1/live.m3u8.

How to develop? 👨‍💻 👩‍💻

Make sure to have installed Visual Studio Code.

  1. Clonse this repository, open the cloned folder in vscode.
  2. Install the recommended extensions.
  3. 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 \
  1. Build & start a Docker instance: Run the vscode task run.
  2. The (HLS) live stream is available via http://127.0.0.1:8080/live.m3u8.

Appendix

How to get a pre-built Docker image? ☁️

Get the latest Docker image from Docker Hub:

$	docker pull ianstorm/cctv2http:latest

Sources 📙

Alternatives

About

Provides access to CCTV live feed from browser.

Resources

Stars

Watchers

Forks