安装本插件,运行一遍插件生成配置文件,修改配置文件(修改添加onvif摄像头地址,用户名,密码),之后再运行一遍 然后使用云易连 View App: https://github.com/OpenIoTHub/OpenIoTHub
onvif-viewer -c /path/to/config/file/onvif-viewer.yaml
or just:
onvif-viewer
(use default config file: ./onvif-viewer.yaml)
You can install the pre-compiled binary (in several different ways), use Docker.
Here are the steps for each of them:
homebrew tap :
$ brew install OpenIoTHub/tap/onvif-viewer
homebrew (may not be the latest version):
$ brew install onvif-viewer
snapcraft:
$ sudo snap install onvif-viewer
config file path: /root/snap/onvif-viewer/current/onvif-viewer.yaml
edit config file then:
sudo snap restart onvif-viewer
scoop:
$ scoop bucket add OpenIoTHub https://github.com/OpenIoTHub/scoop-bucket.git
$ scoop install onvif-viewer
deb/rpm:
Download the .deb
or .rpm
from the releases page and
install with dpkg -i
and rpm -i
respectively.
config file path: /etc/onvif-viewer/onvif-viewer.yaml
edit config file then:
sudo systemctl restart onvif-viewer
Shell script:
$ curl -sfL https://install.goreleaser.com/github.com/mDNSService/onvif-viewer.sh | sh
manually:
Download the pre-compiled binaries from the releases page and copy to the desired location.
Note that the image will almost always have the last stable Go version.