Documentation ¶
Index ¶
- Constants
- func DiscoveryStreamingURLs() ([]string, error)
- func FindTagValue(b []byte, tag string) string
- func GetCapabilitiesResponse(host string) string
- func GetDeviceInformationResponse(manuf, model, firmware, serial string) string
- func GetNetworkInterfacesResponse() string
- func GetProfilesResponse(names []string) string
- func GetRequestAction(b []byte) string
- func GetServiceCapabilitiesResponse() string
- func GetStreamUriResponse(uri string) string
- func GetSystemDateAndTimeResponse() string
- func SystemRebootResponse() string
- func UUID() string
- type Client
- func (c *Client) GetCapabilities() ([]byte, error)
- func (c *Client) GetDeviceInformation() ([]byte, error)
- func (c *Client) GetName() (string, error)
- func (c *Client) GetNetworkInterfaces() ([]byte, error)
- func (c *Client) GetProfiles() ([]byte, error)
- func (c *Client) GetProfilesTokens() ([]string, error)
- func (c *Client) GetScopes() ([]byte, error)
- func (c *Client) GetServiceCapabilities() ([]byte, error)
- func (c *Client) GetServices() ([]byte, error)
- func (c *Client) GetSnapshotUri(token string) ([]byte, error)
- func (c *Client) GetStreamUri(token string) ([]byte, error)
- func (c *Client) GetSystemDateAndTime() ([]byte, error)
- func (c *Client) GetURI() (string, error)
- func (c *Client) HasSnapshots() bool
- func (c *Client) Request(url, body string) ([]byte, error)
- func (c *Client) SystemReboot() ([]byte, error)
Constants ¶
View Source
const ( ActionGetCapabilities = "GetCapabilities" ActionGetSystemDateAndTime = "GetSystemDateAndTime" ActionGetNetworkInterfaces = "GetNetworkInterfaces" ActionGetDeviceInformation = "GetDeviceInformation" ActionGetServiceCapabilities = "GetServiceCapabilities" ActionGetProfiles = "GetProfiles" ActionGetStreamUri = "GetStreamUri" ActionSystemReboot = "SystemReboot" ActionGetServices = "GetServices" ActionGetScopes = "GetScopes" ActionGetVideoSources = "GetVideoSources" ActionGetAudioSources = "GetAudioSources" ActionGetVideoSourceConfigurations = "GetVideoSourceConfigurations" ActionGetAudioSourceConfigurations = "GetAudioSourceConfigurations" ActionGetVideoEncoderConfigurations = "GetVideoEncoderConfigurations" ActionGetAudioEncoderConfigurations = "GetAudioEncoderConfigurations" )
View Source
const PathDevice = "/onvif/device_service"
Variables ¶
This section is empty.
Functions ¶
func DiscoveryStreamingURLs ¶
func FindTagValue ¶
func GetCapabilitiesResponse ¶
func GetNetworkInterfacesResponse ¶
func GetNetworkInterfacesResponse() string
func GetProfilesResponse ¶
func GetRequestAction ¶
func GetServiceCapabilitiesResponse ¶
func GetServiceCapabilitiesResponse() string
func GetStreamUriResponse ¶
func GetSystemDateAndTimeResponse ¶
func GetSystemDateAndTimeResponse() string
func SystemRebootResponse ¶
func SystemRebootResponse() string
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCapabilities ¶
func (*Client) GetDeviceInformation ¶
func (*Client) GetNetworkInterfaces ¶
func (*Client) GetProfiles ¶
func (*Client) GetProfilesTokens ¶
func (*Client) GetServiceCapabilities ¶
func (*Client) GetServices ¶
func (*Client) GetSystemDateAndTime ¶
func (*Client) HasSnapshots ¶
func (*Client) SystemReboot ¶
Click to show internal directories.
Click to hide internal directories.