Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

m7s.live/plugin/onvif/v4

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m7s.live/plugin/onvif/v4

Go Modules
Version
v4.0.0-20230127095158-23cfc3945b0b
Version published
Created
Source

onvif 拉流

仅实现了onvif设备发现,并通过rtsp拉流,暂未实现onvif协议其它功能,如需其它功能,请加群联系购买Pro版。

注意 onvif 监听了udp 1024端口,使用了广播,可能需要在路由器或者电脑防火墙设置一下

预览onvif流

打开m7s /preview 界面,onvif 设备视频流如下图所示,格式为:onvif/ip_port

image

配置如下:

onvif:
  discoverinterval: 30 # 发现设备的间隔,单位秒,默认30秒,建议比rtsp插件的重连间隔大点
  interfaces: # 设备发现指定网卡,以及该网卡对应IP段的全局默认账号密码,支持多网卡
    - interfacename: WLAN  # 网卡名称 或者"以太网" "eth0"等,使用ipconfig 或者 ifconfig 查看网卡名称 
      username: admin # onvif 账号
      password: admin # onvif 密码
    - interfacename: WLAN 2 # 网卡2
      username: admin
      password: admin
  devices: # 可以给指定设备配置单独的密码
    - ip: 192.168.1.1
      username: admin
      password: '123'
    - ip: 192.168.1.2
      username: admin
      password: '456'

FAQs

Package last updated on 27 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts