onvif

package module
v0.0.0-...-12e924b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

README

gonvif

Go implementation for onvif protocol

Development

Since there are to many feature in onvif protocol, let me know what you require (just create an issue) and ill add it to the project. ✨ ✨

Background

This package is continuation for what RadhiFadlillah did in his implementation. Since go-onvif is now archived, I'll continue to develop this package to add more features.

Contains implementation inspired from go-onvif.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	ID       string
	Name     string
	XAddr    string
	User     string
	Password string
}

func DiscoverDevices

func DiscoverDevices(ip string, timeout time.Duration) ([]Device, error)

func GetDeviceFromDiscoverProbeResponse

func GetDeviceFromDiscoverProbeResponse(messageID string, response []byte) (Device, error)

func StartDiscovery

func StartDiscovery(timeout time.Duration) ([]Device, error)

type SOAP

type SOAP struct {
	Body     string
	XMLNs    []string
	User     string
	Password string
	TokenAge time.Duration
}

SOAP represents soap request and all of its components

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL