mirror of
https://github.com/cedricve/go-onvif.git
synced 2025-10-05 08:36:53 +08:00
Implement API for get device info and capabilities
This commit is contained in:
17
model.go
17
model.go
@@ -17,3 +17,20 @@ type DeviceInformation struct {
|
||||
Model string
|
||||
SerialNumber string
|
||||
}
|
||||
|
||||
// NetworkCapabilities contains networking capabilities of ONVIF camera
|
||||
type NetworkCapabilities struct {
|
||||
DynDNS bool
|
||||
Extension map[string]bool
|
||||
IPFilter bool
|
||||
IPVersion6 bool
|
||||
ZeroConfig bool
|
||||
}
|
||||
|
||||
// DeviceCapabilities contains capabilities of an ONVIF camera
|
||||
type DeviceCapabilities struct {
|
||||
Network NetworkCapabilities
|
||||
Events map[string]bool
|
||||
Streaming map[string]bool
|
||||
PTZ bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user