Skip to content

RTSP watchdog that restarts camera through ONVIF if RTSP goes down. Usefu for Vstarcam cameras

Notifications You must be signed in to change notification settings

lattice0/rtspWatchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtspWatchdog

Reboots an ONVIF/RTSP camera if RTSP is down. VStarcam cameras suffer from this problem.

Python must be >= 3.6

Usage

git clone https://github.com/lattice0/rtspWatchdog
cd dev
sudo docker build -t rtspwatchdog .
sudo docker run -v $(pwd)/..:/home -d --restart unless-stopped -it --name rtspwatchdog rtspwatchdog

Tip: follow the log on a screen:

screen

then leave open:

sudo docker logs --tail 500 --follow rtspwatchdog

To log but without observable errors:

sudo docker logs --tail 500 --follow rtspwatchdog | grep -v "ERROR_LOG"

Reattach to screen with screen -r -d

Raspberry pi

See here a list of base images and substitute in the dockerfile: https://www.balena.io/docs/reference/base-images/base-images-ref/

About

RTSP watchdog that restarts camera through ONVIF if RTSP goes down. Usefu for Vstarcam cameras

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published