Raspberry Pi Onvif Gateway based on rpos. Node.js based ONVIF SOAP service.
Providing a ONVIF Media service which is compatible with Synology Surveillance Station / QNAP NAS, "tunneling" any existing RTSP stream.
(Beginner’s Guide to) Installing Node.js on a Raspberry Pi:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install nodejs
Download the latest rpos-gateway release from GitHub:
wget https://github.com/kristian/rpos-gateway/releases/download/0.2.1/rpos-gateway-0.2.1.zip
unzip rpos-gateway-0.2.1.zip -d rpos-gateway-0.2.1
cd rpos-gateway-0.2.1
Set the StreamMediaUri
(RTSP tunnel URI), IpAddress
, ServicePort
and optionally other options in the rposConfig.json
file.
Start rpos-gateway by running node rpos-gateway.js