百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

libONVIF

> 编程语言
开源

又一个 ONVIF 库

200 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

又一个 ONVIF 库

libONVIF

Yet another ONVIF library


os arch CI Status
Linux x86_64
Windows x86_64
Macos armv8
Android x86
Android x86_64
Android armv7
Android armv8

What does ONVIF stand for:

ONVIF (Open Network Video Interface Forum) is a global and open industry forum with the goal of facilitating the development and use of a global open standard for the interface of physical IP-based security products – or, in other words, to create a standard for how IP products within video surveillance and other physical security areas can communicate with each other. Wikipedia

The idea behind this library is to hide some complexity of gsoap and to provide 'high level' classes including QT goodness. Currently there are eleven client side service methods implemented:

  • ONVIF analytics http://www.onvif.org/ver20/analytics/wsdl
  • ONVIF device http://www.onvif.org/ver10/device/wsdl
  • ONVIF display http://www.onvif.org/ver10/display/wsdl
  • ONVIF event http://www.onvif.org/ver10/events/wsdl
  • ONVIF imaging http://www.onvif.org/ver20/imaging/wsdl
  • ONVIF media http://www.onvif.org/ver10/media/wsdl
  • ONVIF media2 http://www.onvif.org/ver20/media/wsdl
  • ONVIF ptz http://www.onvif.org/ver20/ptz/wsdl
  • ONVIF receiver http://www.onvif.org/ver10/receiver/wsdl
  • ONVIF recording http://www.onvif.org/ver10/recording/wsdl
  • ONVIF replay http://www.onvif.org/ver10/replay/wsdl

For every service exists a class following the naming scheme Onvif*Client (* matches service name). These classes handle the RPCs. For the convenience of WS discovery and ONVIF (pullpoint) event handling there are two more classes: OnvifDiscovery and OnvifPullPoint.

Design thoughts:

  • The most of this library is thread safe and should work in a multithreaded environment
  • gsoap is 'hidden' from the user as much as possible
  • RAII classes Request<>, Response<> wrapping the RPC parameters are responsible for the memory management

Further reading

  • The library comes with a small application (named ovifinfo) that does some device-discovery, inspection. You may want to look at the source code.
  • If you want to learn more about how to use libONVIF in a qml app take a look at the following project ONVIFMonitor.
  • It is always advisable to look at the ONVIF programmers guide to learn more about ONVIF.

Issues· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++cppgsoaplibraryonvif

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言