Documentation ¶
Index ¶
- type AACDecOptions
- type AbsoluteFocus
- type AnalyticsCapabilities
- type AnalyticsDeviceCapabilities
- type AnalyticsDeviceExtension
- type AnalyticsEngineConfiguration
- type AnalyticsEngineConfigurationExtension
- type AttachmentData
- type AudioDecoderConfiguration
- type AudioDecoderConfigurationOptions
- type AudioDecoderConfigurationOptionsExtension
- type AudioEncoderConfiguration
- type AudioEncoderConfigurationOption
- type AudioEncoderConfigurationOptions
- type AudioEncoding
- type AudioOutput
- type AudioOutputConfiguration
- type AudioOutputConfigurationOptions
- type AudioSource
- type AudioSourceConfiguration
- type AudioSourceConfigurationOptions
- type AudioSourceOptionsExtension
- type AutoFocusMode
- type AuxiliaryData
- type BacklightCompensation
- type BacklightCompensation20
- type BacklightCompensationMode
- type BackupFile
- type BinaryData
- type Capabilities
- type CapabilitiesExtension
- type CapabilitiesExtension2
- type CapabilityCategory
- type Certificate
- type CertificateInformation
- type CertificateInformationExtension
- type CertificateStatus
- type CertificateUsage
- type CertificateWithPrivateKey
- type Color
- type ColorOptions
- type ColorspaceRange
- type Config
- type ConfigurationEntity
- type ContentType
- type ContinuousFocus
- type DNSInformation
- type DNSInformationExtension
- type DNSName
- type Date
- type DateTime
- type DateTimeRange
- type Defogging
- type DefoggingExtension
- type Description
- type DeviceCapabilities
- type DeviceCapabilitiesExtension
- type DeviceEntity
- type DeviceIOCapabilities
- type DiscoveryMode
- type DisplayCapabilities
- type Dot11AuthAndMangementSuite
- type Dot11AvailableNetworks
- type Dot11AvailableNetworksExtension
- type Dot11Capabilities
- type Dot11Cipher
- type Dot11Configuration
- type Dot11PSK
- type Dot11PSKPassphrase
- type Dot11PSKSet
- type Dot11PSKSetExtension
- type Dot11SSIDType
- type Dot11SecurityConfiguration
- type Dot11SecurityConfigurationExtension
- type Dot11SecurityMode
- type Dot11SignalStrength
- type Dot11StationMode
- type Dot11Status
- type Dot1XConfiguration
- type Dot1XConfigurationExtension
- type Dot3Configuration
- type Duplex
- type DurationRange
- type DynamicDNSInformation
- type DynamicDNSInformationExtension
- type DynamicDNSType
- type EAPMethodConfiguration
- type EFlip
- type EFlipMode
- type EFlipOptions
- type EFlipOptionsExtension
- type EapMethodExtension
- type EncodingTypes
- type EventCapabilities
- type EventSubscription
- type Exposure
- type Exposure20
- type ExposureMode
- type ExposurePriority
- type FactoryDefaultType
- type FilterType
- type FloatRange
- type FocusConfiguration
- type FocusConfiguration20
- type FocusConfiguration20Extension
- type FocusMove
- type G711DecOptions
- type G726DecOptions
- type GeoLocation
- type GeoOrientation
- type H264Configuration
- type H264Options
- type H264Options2
- type H264Profile
- type HostnameInformation
- type HostnameInformationExtension
- type HwAddress
- type IANA_IfTypes
- type IOCapabilities
- type IOCapabilitiesExtension
- type IOCapabilitiesExtension2
- type IPAddress
- type IPAddressFilter
- type IPAddressFilterExtension
- type IPAddressFilterType
- type IPType
- type IPv4Address
- type IPv4Configuration
- type IPv4NetworkInterface
- type IPv4NetworkInterfaceSetConfiguration
- type IPv6Address
- type IPv6Configuration
- type IPv6ConfigurationExtension
- type IPv6DHCPConfiguration
- type IPv6NetworkInterface
- type IPv6NetworkInterfaceSetConfiguration
- type ImageStabilization
- type ImageStabilizationExtension
- type ImageStabilizationMode
- type ImagingCapabilities
- type ImagingSettings
- type ImagingSettings20
- type ImagingSettingsExtension
- type ImagingSettingsExtension20
- type ImagingSettingsExtension202
- type ImagingSettingsExtension203
- type ImagingSettingsExtension204
- type Include
- type IntAttrList
- type IntList
- type IntRange
- type IntRectangle
- type IntRectangleRange
- type IrCutFilterAutoAdjustment
- type IrCutFilterAutoAdjustmentExtension
- type IrCutFilterMode
- type ItemList
- type ItemListElementItem
- type ItemListExtension
- type ItemListSimpleItem
- type JpegOptions
- type JpegOptions2
- type LensDescription
- type LensOffset
- type LensProjection
- type LocalLocation
- type LocalOrientation
- type LocationEntity
- type MaximumNumberOfOSDs
- type MediaCapabilities
- type MediaCapabilitiesExtension
- type MediaUri
- type Message
- type MessageExtension
- type MetadataConfiguration
- type MetadataConfigurationExtension
- type MetadataConfigurationOptions
- type MetadataConfigurationOptionsExtension
- type MetadataConfigurationOptionsExtension2
- type MoveStatus
- type Mpeg4Configuration
- type Mpeg4Options
- type Mpeg4Options2
- type Mpeg4Profile
- type MulticastConfiguration
- type NTPInformation
- type NTPInformationExtension
- type Name
- type NetworkCapabilities
- type NetworkCapabilitiesExtension
- type NetworkCapabilitiesExtension2
- type NetworkGateway
- type NetworkHost
- type NetworkHostExtension
- type NetworkHostType
- type NetworkInterface
- type NetworkInterfaceConfigPriority
- type NetworkInterfaceConnectionSetting
- type NetworkInterfaceExtension
- type NetworkInterfaceExtension2
- type NetworkInterfaceInfo
- type NetworkInterfaceLink
- type NetworkInterfaceSetConfiguration
- type NetworkInterfaceSetConfigurationExtension
- type NetworkInterfaceSetConfigurationExtension2
- type NetworkProtocol
- type NetworkProtocolExtension
- type NetworkProtocolType
- type NetworkZeroConfiguration
- type NetworkZeroConfigurationExtension
- type NetworkZeroConfigurationExtension2
- type NoiseReduction
- type OSDColor
- type OSDColorOptions
- type OSDColorOptionsExtension
- type OSDConfiguration
- type OSDConfigurationExtension
- type OSDConfigurationOptions
- type OSDConfigurationOptionsExtension
- type OSDImgConfiguration
- type OSDImgConfigurationExtension
- type OSDImgOptions
- type OSDImgOptionsExtension
- type OSDPosConfiguration
- type OSDPosConfigurationExtension
- type OSDReference
- type OSDTextConfiguration
- type OSDTextConfigurationExtension
- type OSDTextOptions
- type OSDTextOptionsExtension
- type OSDType
- type OnvifVersion
- type PTControlDirection
- type PTControlDirectionExtension
- type PTControlDirectionOptions
- type PTControlDirectionOptionsExtension
- type PTZCapabilities
- type PTZConfiguration
- type PTZConfigurationExtension
- type PTZConfigurationExtension2
- type PTZConfigurationOptions
- type PTZConfigurationOptions2
- type PTZFilter
- type PTZMoveStatus
- type PTZNode
- type PTZNodeExtension
- type PTZNodeExtension2
- type PTZPreset
- type PTZPresetTourDirection
- type PTZPresetTourExtension
- type PTZPresetTourOperation
- type PTZPresetTourOptions
- type PTZPresetTourPresetDetail
- type PTZPresetTourPresetDetailOptions
- type PTZPresetTourPresetDetailOptionsExtension
- type PTZPresetTourSpot
- type PTZPresetTourSpotExtension
- type PTZPresetTourSpotOptions
- type PTZPresetTourStartingCondition
- type PTZPresetTourStartingConditionExtension
- type PTZPresetTourStartingConditionOptions
- type PTZPresetTourStartingConditionOptionsExtension
- type PTZPresetTourState
- type PTZPresetTourStatus
- type PTZPresetTourStatusExtension
- type PTZPresetTourSupported
- type PTZPresetTourSupportedExtension
- type PTZPresetTourTypeExtension
- type PTZSpaces
- type PTZSpacesExtension
- type PTZSpeed
- type PTZStatus
- type PTZStatusFilterOptions
- type PTZStatusFilterOptionsExtension
- type PTZVector
- type PanTiltLimits
- type PosixTimezone
- type PrefixedIPv4Address
- type PrefixedIPv6Address
- type PresetTour
- type Profile
- type ProfileCapabilities
- type ProfileExtension
- type ProfileExtension2
- type RealTimeStreamingCapabilities
- type RealTimeStreamingCapabilitiesExtension
- type ReceiverCapabilities
- type RecordingCapabilities
- type Rectangle
- type ReferenceToken
- type RelativeFocus
- type RelayIdleState
- type RelayLogicalState
- type RelayMode
- type RelayOutput
- type RelayOutputSettings
- type RemoteUser
- type ReplayCapabilities
- type Reverse
- type ReverseMode
- type ReverseOptions
- type ReverseOptionsExtension
- type Rotate
- type RotateExtension
- type RotateMode
- type RotateOptions
- type RotateOptionsExtension
- type RuleEngineConfiguration
- type RuleEngineConfigurationExtension
- type SceneOrientation
- type SceneOrientationMode
- type Scope
- type ScopeDefinition
- type SearchCapabilities
- type SecurityCapabilities
- type SecurityCapabilitiesExtension
- type SecurityCapabilitiesExtension2
- type SetDateTimeType
- type Space1DDescription
- type Space2DDescription
- type StreamSetup
- type StreamType
- type StringAttrList
- type SubscriptionPolicy
- type SupportInformation
- type SystemCapabilities
- type SystemCapabilitiesExtension
- type SystemCapabilitiesExtension2
- type SystemDateTime
- type SystemDateTimeExtension
- type SystemLog
- type SystemLogType
- type SystemLogUri
- type SystemLogUriList
- type TLSConfiguration
- type Time
- type TimeZone
- type ToneCompensation
- type ToneCompensationExtension
- type Transport
- type TransportProtocol
- type User
- type UserExtension
- type UserLevel
- type Vector
- type Vector1D
- type Vector2D
- type VideoAnalyticsConfiguration
- type VideoEncoderConfiguration
- type VideoEncoderConfigurationOptions
- type VideoEncoderOptionsExtension
- type VideoEncoderOptionsExtension2
- type VideoEncoding
- type VideoRateControl
- type VideoResolution
- type VideoSource
- type VideoSourceConfiguration
- type VideoSourceConfigurationExtension
- type VideoSourceConfigurationExtension2
- type VideoSourceConfigurationOptions
- type VideoSourceConfigurationOptionsExtension
- type VideoSourceConfigurationOptionsExtension2
- type VideoSourceExtension
- type VideoSourceExtension2
- type VideoSourceMode
- type VideoSourceModeExtension
- type WhiteBalance
- type WhiteBalance20
- type WhiteBalance20Extension
- type WhiteBalanceMode
- type WideDynamicMode
- type WideDynamicRange
- type WideDynamicRange20
- type ZoomLimits
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AACDecOptions ¶
type AbsoluteFocus ¶
type AnalyticsCapabilities ¶
type AnalyticsDeviceCapabilities ¶
type AnalyticsDeviceCapabilities struct { XAddr xsd.AnyURI RuleSupport bool Extension AnalyticsDeviceExtension }
type AnalyticsEngineConfiguration ¶
type AnalyticsEngineConfiguration struct { AnalyticsModule []Config `xml:"http://www.onvif.org/ver10/schema AnalyticsModule"` Extension *AnalyticsEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type AttachmentData ¶
type AttachmentData struct { ContentType ContentType `xml:"contentType,attr"` Include Include `xml:"inc:Include"` }
type AudioDecoderConfiguration ¶
type AudioDecoderConfiguration struct {
ConfigurationEntity
}
type AudioDecoderConfigurationOptions ¶
type AudioDecoderConfigurationOptions struct { AACDecOptions AACDecOptions G711DecOptions G711DecOptions G726DecOptions G726DecOptions Extension AudioDecoderConfigurationOptionsExtension }
type AudioEncoderConfiguration ¶
type AudioEncoderConfiguration struct { ConfigurationEntity Encoding AudioEncoding `xml:"http://www.onvif.org/ver10/schema Encoding"` Bitrate int `xml:"http://www.onvif.org/ver10/schema Bitrate"` SampleRate int `xml:"http://www.onvif.org/ver10/schema SampleRate"` Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast"` SessionTimeout xsd.Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout"` }
type AudioEncoderConfigurationOption ¶
type AudioEncoderConfigurationOption struct { Encoding AudioEncoding BitrateList IntList SampleRateList IntList }
type AudioEncoderConfigurationOptions ¶
type AudioEncoderConfigurationOptions struct {
Options AudioEncoderConfigurationOption
}
type AudioEncoding ¶
type AudioOutput ¶
type AudioOutput struct {
DeviceEntity
}
type AudioOutputConfiguration ¶
type AudioOutputConfiguration struct { ConfigurationEntity OutputToken ReferenceToken `xml:"http://www.onvif.org/ver10/schema OutputToken"` SendPrimacy xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema SendPrimacy"` OutputLevel int `xml:"http://www.onvif.org/ver10/schema OutputLevel"` }
type AudioOutputConfigurationOptions ¶
type AudioOutputConfigurationOptions struct { OutputTokensAvailable ReferenceToken SendPrimacyOptions xsd.AnyURI OutputLevelRange IntRange }
type AudioSource ¶
type AudioSource struct { DeviceEntity Channels int }
type AudioSourceConfiguration ¶
type AudioSourceConfiguration struct { ConfigurationEntity SourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/schema SourceToken"` }
type AudioSourceConfigurationOptions ¶
type AudioSourceConfigurationOptions struct { InputTokensAvailable ReferenceToken Extension AudioSourceOptionsExtension }
type AutoFocusMode ¶
type BacklightCompensation ¶
type BacklightCompensation struct { Mode BacklightCompensationMode Level float64 }
type BacklightCompensation20 ¶
type BacklightCompensation20 struct { Mode BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode"` Level float64 `xml:"http://www.onvif.org/ver10/schema Level"` }
type BackupFile ¶
type BackupFile struct { Name string `xml:"http://www.onvif.org/ver10/schema Name"` Data AttachmentData `xml:"http://www.onvif.org/ver10/schema Data"` }
type BinaryData ¶
type BinaryData struct { X ContentType `xml:"xmime:contentType,attr"` Data xsd.Base64Binary `xml:"http://www.onvif.org/ver10/schema Data"` }
TODO: attribite <xs:attribute ref="xmime:contentType" use="optional"/>
type Capabilities ¶
type Capabilities struct { Analytics *AnalyticsCapabilities Device *DeviceCapabilities Events *EventCapabilities Imaging *ImagingCapabilities Media *MediaCapabilities PTZ *PTZCapabilities Extension *CapabilitiesExtension }
type CapabilitiesExtension ¶
type CapabilitiesExtension struct { DeviceIO *DeviceIOCapabilities Display *DisplayCapabilities Recording *RecordingCapabilities Search *SearchCapabilities Replay *ReplayCapabilities Receiver *ReceiverCapabilities AnalyticsDevice *AnalyticsDeviceCapabilities Extensions *CapabilitiesExtension2 }
type CapabilitiesExtension2 ¶
type CapabilityCategory ¶
type Certificate ¶
type Certificate struct { CertificateID xsd.Token `xml:"http://www.onvif.org/ver10/schema CertificateID"` Certificate BinaryData `xml:"http://www.onvif.org/ver10/schema Certificate"` }
type CertificateInformation ¶
type CertificateInformation struct { CertificateID xsd.Token IssuerDN xsd.String SubjectDN xsd.String KeyUsage CertificateUsage ExtendedKeyUsage CertificateUsage KeyLength int Version xsd.String SerialNum xsd.String SignatureAlgorithm xsd.String Validity DateTimeRange Extension CertificateInformationExtension }
type CertificateStatus ¶
type CertificateUsage ¶
type CertificateWithPrivateKey ¶
type CertificateWithPrivateKey struct { CertificateID xsd.Token `xml:"http://www.onvif.org/ver10/schema CertificateID"` Certificate BinaryData `xml:"http://www.onvif.org/ver10/schema Certificate"` PrivateKey BinaryData `xml:"http://www.onvif.org/ver10/schema PrivateKey"` }
type ColorOptions ¶
type ColorOptions struct { ColorList []Color ColorspaceRange []ColorspaceRange }
ColorOptions describe the option of the color supported. Either list each color or define the range of color value. The following values are acceptable for Colourspace attribute.
- http://www.onvif.org/ver10/colorspace/YCbCr - YCbCr colourspace
- http://www.onvif.org/ver10/colorspace/CIELUV - CIE LUV
- http://www.onvif.org/ver10/colorspace/CIELAB - CIE 1976 (L*a*b*)
- http://www.onvif.org/ver10/colorspace/HSV - HSV colourspace
type ColorspaceRange ¶
type ColorspaceRange struct { X FloatRange Y FloatRange Z FloatRange Colorspace xsd.AnyURI }
type ConfigurationEntity ¶
type ConfigurationEntity struct { Token ReferenceToken `xml:"token,attr"` Name Name `xml:"http://www.onvif.org/ver10/schema Name"` UseCount int `xml:"http://www.onvif.org/ver10/schema UseCount"` }
type ContentType ¶
type ContentType string // minLength value="3"
type ContinuousFocus ¶
type DNSInformation ¶
type DNSInformationExtension ¶
type Defogging ¶
type Defogging struct { Mode string Level float64 Extension DefoggingExtension }
type DefoggingExtension ¶
type Description ¶
type Description struct {
Description string
}
type DeviceCapabilities ¶
type DeviceCapabilities struct { XAddr xsd.AnyURI Network NetworkCapabilities System SystemCapabilities IO IOCapabilities Security SecurityCapabilities Extension DeviceCapabilitiesExtension }
type DeviceEntity ¶
type DeviceEntity struct {
Token ReferenceToken `xml:"token,attr"`
}
type DeviceIOCapabilities ¶
type DiscoveryMode ¶
type DisplayCapabilities ¶
type Dot11AvailableNetworks ¶
type Dot11AvailableNetworks struct { SSID Dot11SSIDType BSSID xsd.String AuthAndMangementSuite Dot11AuthAndMangementSuite PairCipher Dot11Cipher GroupCipher Dot11Cipher SignalStrength Dot11SignalStrength Extension Dot11AvailableNetworksExtension }
type Dot11Capabilities ¶
type Dot11Configuration ¶
type Dot11Configuration struct { SSID Dot11SSIDType `xml:"http://www.onvif.org/ver10/schema SSID"` Mode Dot11StationMode `xml:"http://www.onvif.org/ver10/schema Mode"` Alias Name `xml:"http://www.onvif.org/ver10/schema Alias"` Priority NetworkInterfaceConfigPriority `xml:"http://www.onvif.org/ver10/schema Priority"` Security Dot11SecurityConfiguration `xml:"http://www.onvif.org/ver10/schema Security"` }
type Dot11PSKPassphrase ¶
type Dot11PSKSet ¶
type Dot11PSKSet struct { Key Dot11PSK `xml:"http://www.onvif.org/ver10/schema Key"` Passphrase Dot11PSKPassphrase `xml:"http://www.onvif.org/ver10/schema Passphrase"` Extension Dot11PSKSetExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type Dot11PSKSetExtension ¶
type Dot11SecurityConfiguration ¶
type Dot11SecurityConfiguration struct { Mode Dot11SecurityMode `xml:"http://www.onvif.org/ver10/schema Mode"` Algorithm Dot11Cipher `xml:"http://www.onvif.org/ver10/schema Algorithm"` PSK Dot11PSKSet `xml:"http://www.onvif.org/ver10/schema PSK"` Dot1X ReferenceToken `xml:"http://www.onvif.org/ver10/schema Dot1X"` Extension Dot11SecurityConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type Dot11Status ¶
type Dot11Status struct { SSID Dot11SSIDType BSSID xsd.String PairCipher Dot11Cipher GroupCipher Dot11Cipher SignalStrength Dot11SignalStrength ActiveConfigAlias ReferenceToken }
type Dot1XConfiguration ¶
type Dot1XConfiguration struct { Dot1XConfigurationToken ReferenceToken `xml:"http://www.onvif.org/ver10/schema Dot1XConfigurationToken"` Identity xsd.String `xml:"http://www.onvif.org/ver10/schema Identity"` AnonymousID xsd.String `xml:"http://www.onvif.org/ver10/schema AnonymousID,omitempty"` EAPMethod int `xml:"http://www.onvif.org/ver10/schema EAPMethod"` CACertificateID xsd.Token `xml:"http://www.onvif.org/ver10/schema CACertificateID,omitempty"` EAPMethodConfiguration EAPMethodConfiguration `xml:"http://www.onvif.org/ver10/schema EAPMethodConfiguration,omitempty"` Extension Dot1XConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
type Dot3Configuration ¶
type DynamicDNSInformation ¶
type DynamicDNSInformation struct { Type DynamicDNSType Name DNSName TTL xsd.Duration Extension DynamicDNSInformationExtension }
type EAPMethodConfiguration ¶
type EAPMethodConfiguration struct { TLSConfiguration TLSConfiguration `xml:"http://www.onvif.org/ver10/schema TLSConfiguration,omitempty"` Password xsd.String `xml:"http://www.onvif.org/ver10/schema Password,omitempty"` Extension EapMethodExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
type EFlipOptions ¶
type EFlipOptions struct { Mode EFlipMode Extension EFlipOptionsExtension }
type EFlipOptionsExtension ¶
type EapMethodExtension ¶
type EncodingTypes ¶
type EncodingTypes struct {
EncodingTypes []string
}
type EventCapabilities ¶
type EventSubscription ¶
type EventSubscription struct { Filter FilterType `xml:"http://www.onvif.org/ver10/schema Filter"` SubscriptionPolicy `xml:"http://www.onvif.org/ver10/schema SubscriptionPolicy"` }
type Exposure20 ¶
type Exposure20 struct { Mode ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode"` Priority ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority"` Window Rectangle `xml:"http://www.onvif.org/ver10/schema Window"` MinExposureTime float64 `xml:"http://www.onvif.org/ver10/schema MinExposureTime"` MaxExposureTime float64 `xml:"http://www.onvif.org/ver10/schema MaxExposureTime"` MinGain float64 `xml:"http://www.onvif.org/ver10/schema MinGain"` MaxGain float64 `xml:"http://www.onvif.org/ver10/schema MaxGain"` MinIris float64 `xml:"http://www.onvif.org/ver10/schema MinIris"` MaxIris float64 `xml:"http://www.onvif.org/ver10/schema MaxIris"` ExposureTime float64 `xml:"http://www.onvif.org/ver10/schema ExposureTime"` Gain float64 `xml:"http://www.onvif.org/ver10/schema Gain"` Iris float64 `xml:"http://www.onvif.org/ver10/schema Iris"` }
type ExposureMode ¶
type ExposurePriority ¶
type FactoryDefaultType ¶
type FilterType ¶
type FloatRange ¶
type FocusConfiguration ¶
type FocusConfiguration struct { AutoFocusMode AutoFocusMode DefaultSpeed float64 NearLimit float64 FarLimit float64 }
type FocusConfiguration20 ¶
type FocusConfiguration20 struct { AutoFocusMode AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusMode"` DefaultSpeed float64 `xml:"http://www.onvif.org/ver10/schema DefaultSpeed"` NearLimit float64 `xml:"http://www.onvif.org/ver10/schema NearLimit"` FarLimit float64 `xml:"http://www.onvif.org/ver10/schema FarLimit"` Extension FocusConfiguration20Extension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type FocusMove ¶
type FocusMove struct { Absolute AbsoluteFocus `xml:"http://www.onvif.org/ver10/schema Absolute"` Relative RelativeFocus `xml:"http://www.onvif.org/ver10/schema Relative"` Continuous ContinuousFocus `xml:"http://www.onvif.org/ver10/schema Continuous"` }
type G711DecOptions ¶
type G726DecOptions ¶
type GeoLocation ¶
type GeoOrientation ¶
type H264Configuration ¶
type H264Configuration struct { GovLength int `xml:"http://www.onvif.org/ver10/schema GovLength"` H264Profile H264Profile `xml:"http://www.onvif.org/ver10/schema H264Profile"` }
type H264Options ¶
type H264Options struct { ResolutionsAvailable VideoResolution GovLengthRange IntRange FrameRateRange IntRange EncodingIntervalRange IntRange H264ProfilesSupported H264Profile }
type H264Options2 ¶
type H264Options2 struct { H264Options BitrateRange IntRange }
type H264Profile ¶
type HostnameInformation ¶
type HostnameInformation struct { FromDHCP bool Name xsd.Token Extension *HostnameInformationExtension }
type IANA_IfTypes ¶
type IANA_IfTypes int
type IOCapabilities ¶
type IOCapabilities struct { InputConnectors int RelayOutputs int Extension IOCapabilitiesExtension }
type IOCapabilitiesExtension ¶
type IOCapabilitiesExtension struct { Auxiliary bool AuxiliaryCommands AuxiliaryData Extension IOCapabilitiesExtension2 }
type IPAddress ¶
type IPAddress struct { Type IPType `xml:"http://www.onvif.org/ver10/schema Type"` IPv4Address IPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address"` IPv6Address IPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address"` }
type IPAddressFilter ¶
type IPAddressFilter struct { Type IPAddressFilterType `xml:"http://www.onvif.org/ver10/schema Type"` IPv4Address PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address,omitempty"` IPv6Address PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address,omitempty"` Extension IPAddressFilterExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
type IPAddressFilterType ¶
enum { 'Allow', 'Deny' } TODO: enumeration
type IPv4Configuration ¶
type IPv4Configuration struct { Manual PrefixedIPv4Address LinkLocal PrefixedIPv4Address FromDHCP PrefixedIPv4Address DHCP bool }
type IPv4NetworkInterface ¶
type IPv4NetworkInterface struct { Enabled bool Config IPv4Configuration }
type IPv4NetworkInterfaceSetConfiguration ¶
type IPv4NetworkInterfaceSetConfiguration struct { Enabled bool `xml:"http://www.onvif.org/ver10/schema Enabled"` Manual PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema Manual"` DHCP bool `xml:"http://www.onvif.org/ver10/schema DHCP"` }
type IPv6Configuration ¶
type IPv6Configuration struct { AcceptRouterAdvert bool DHCP IPv6DHCPConfiguration Manual PrefixedIPv6Address LinkLocal PrefixedIPv6Address FromDHCP PrefixedIPv6Address FromRA PrefixedIPv6Address Extension IPv6ConfigurationExtension }
type IPv6NetworkInterface ¶
type IPv6NetworkInterface struct { Enabled bool Config IPv6Configuration }
type IPv6NetworkInterfaceSetConfiguration ¶
type IPv6NetworkInterfaceSetConfiguration struct { Enabled bool `xml:"http://www.onvif.org/ver10/schema Enabled"` AcceptRouterAdvert bool `xml:"http://www.onvif.org/ver10/schema AcceptRouterAdvert"` Manual PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema Manual"` DHCP IPv6DHCPConfiguration `xml:"http://www.onvif.org/ver10/schema DHCP"` }
type ImageStabilization ¶
type ImageStabilization struct { Mode ImageStabilizationMode `xml:"http://www.onvif.org/ver10/schema Mode"` Level float64 `xml:"http://www.onvif.org/ver10/schema Level"` Extension ImageStabilizationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type ImageStabilizationMode ¶
type ImagingCapabilities ¶
type ImagingSettings ¶
type ImagingSettings struct { BacklightCompensation BacklightCompensation Brightness float64 ColorSaturation float64 Contrast float64 Exposure Exposure Focus FocusConfiguration IrCutFilter IrCutFilterMode Sharpness float64 WideDynamicRange WideDynamicRange WhiteBalance WhiteBalance Extension ImagingSettingsExtension }
type ImagingSettings20 ¶
type ImagingSettings20 struct { BacklightCompensation BacklightCompensation20 `xml:"http://www.onvif.org/ver10/schema BacklightCompensation"` Brightness float64 `xml:"http://www.onvif.org/ver10/schema Brightness"` ColorSaturation float64 `xml:"http://www.onvif.org/ver10/schema ColorSaturation"` Contrast float64 `xml:"http://www.onvif.org/ver10/schema Contrast"` Exposure Exposure20 `xml:"http://www.onvif.org/ver10/schema Exposure"` Focus FocusConfiguration20 `xml:"http://www.onvif.org/ver10/schema Focus"` IrCutFilter IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilter"` Sharpness float64 `xml:"http://www.onvif.org/ver10/schema Sharpness"` WideDynamicRange WideDynamicRange20 `xml:"http://www.onvif.org/ver10/schema WideDynamicRange"` WhiteBalance WhiteBalance20 `xml:"http://www.onvif.org/ver10/schema WhiteBalance"` Extension ImagingSettingsExtension20 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type ImagingSettingsExtension20 ¶
type ImagingSettingsExtension20 struct { ImageStabilization ImageStabilization `xml:"http://www.onvif.org/ver10/schema ImageStabilization"` Extension ImagingSettingsExtension202 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type ImagingSettingsExtension202 ¶
type ImagingSettingsExtension202 struct { IrCutFilterAutoAdjustment IrCutFilterAutoAdjustment `xml:"http://www.onvif.org/ver10/schema IrCutFilterAutoAdjustment"` Extension ImagingSettingsExtension203 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type ImagingSettingsExtension203 ¶
type ImagingSettingsExtension203 struct { ToneCompensation ToneCompensation `xml:"http://www.onvif.org/ver10/schema ToneCompensation"` Defogging Defogging `xml:"http://www.onvif.org/ver10/schema Defogging"` NoiseReduction NoiseReduction `xml:"http://www.onvif.org/ver10/schema NoiseReduction"` Extension ImagingSettingsExtension204 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type IntAttrList ¶
type IntAttrList struct {
IntAttrList []int
}
type IntRectangle ¶
type IntRectangleRange ¶
type IrCutFilterAutoAdjustment ¶
type IrCutFilterAutoAdjustment struct { BoundaryType string `xml:"http://www.onvif.org/ver10/schema BoundaryType"` BoundaryOffset float64 `xml:"http://www.onvif.org/ver10/schema BoundaryOffset"` ResponseTime xsd.Duration `xml:"http://www.onvif.org/ver10/schema ResponseTime"` Extension IrCutFilterAutoAdjustmentExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type IrCutFilterMode ¶
type ItemList ¶
type ItemList struct { SimpleItems map[string]string `xml:"http://www.onvif.org/ver10/schema SimpleItem"` ElementItems map[string][]xsd.AnyType `xml:"http://www.onvif.org/ver10/schema ElementItem"` Extension *ItemListExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
func (*ItemList) UnmarshalXML ¶
type ItemListElementItem ¶
type ItemListExtension ¶
type ItemListSimpleItem ¶
type JpegOptions ¶
type JpegOptions struct { ResolutionsAvailable VideoResolution FrameRateRange IntRange EncodingIntervalRange IntRange }
type JpegOptions2 ¶
type JpegOptions2 struct { JpegOptions BitrateRange IntRange }
type LensDescription ¶
type LensDescription struct { FocalLength float64 `xml:"FocalLength,attr"` Offset LensOffset `xml:"http://www.onvif.org/ver10/schema Offset"` Projection LensProjection `xml:"http://www.onvif.org/ver10/schema Projection"` XFactor float64 `xml:"http://www.onvif.org/ver10/schema XFactor"` }
type LensOffset ¶
type LensProjection ¶
type LocalLocation ¶
type LocalOrientation ¶
type LocationEntity ¶
type LocationEntity struct { Entity xsd.String `xml:"Entity,attr"` Token ReferenceToken `xml:"Token,attr"` Fixed bool `xml:"Fixed,attr"` GeoSource xsd.AnyURI `xml:"GeoSource,attr"` AutoGeo bool `xml:"AutoGeo,attr"` GeoLocation GeoLocation `xml:"http://www.onvif.org/ver10/schema GeoLocation"` GeoOrientation GeoOrientation `xml:"http://www.onvif.org/ver10/schema GeoOrientation"` LocalLocation LocalLocation `xml:"http://www.onvif.org/ver10/schema LocalLocation"` LocalOrientation LocalOrientation `xml:"http://www.onvif.org/ver10/schema LocalOrientation"` }
type MaximumNumberOfOSDs ¶
type MediaCapabilities ¶
type MediaCapabilities struct { XAddr xsd.AnyURI StreamingCapabilities RealTimeStreamingCapabilities Extension MediaCapabilitiesExtension }
type MediaCapabilitiesExtension ¶
type MediaCapabilitiesExtension struct {
ProfileCapabilities ProfileCapabilities
}
type Message ¶
type Message struct { UtcTime xsd.DateTime `xml:"UtcTime,attr"` PropertyOperation *string `xml:"PropertyOperation,attr"` Source *ItemList `xml:"http://www.onvif.org/ver10/schema Source"` Key *ItemList `xml:"http://www.onvif.org/ver10/schema Key"` Data *ItemList `xml:"http://www.onvif.org/ver10/schema Data"` Extension *MessageExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type MessageExtension ¶
type MetadataConfiguration ¶
type MetadataConfiguration struct { ConfigurationEntity CompressionType string `xml:"CompressionType,attr"` PTZStatus *PTZFilter `xml:"http://www.onvif.org/ver10/schema PTZStatus"` Events *EventSubscription `xml:"http://www.onvif.org/ver10/schema Events"` Analytics bool `xml:"http://www.onvif.org/ver10/schema Analytics"` Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast"` SessionTimeout xsd.Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout"` AnalyticsEngineConfiguration *AnalyticsEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration"` Extension *MetadataConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type MetadataConfigurationOptions ¶
type MetadataConfigurationOptions struct { PTZStatusFilterOptions PTZStatusFilterOptions Extension *MetadataConfigurationOptionsExtension }
type MetadataConfigurationOptionsExtension ¶
type MetadataConfigurationOptionsExtension struct { CompressionType string Extension MetadataConfigurationOptionsExtension2 }
type MoveStatus ¶
type MoveStatus struct {
Status string
}
type Mpeg4Configuration ¶
type Mpeg4Configuration struct { GovLength int `xml:"http://www.onvif.org/ver10/schema GovLength"` Mpeg4Profile Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema Mpeg4Profile"` }
type Mpeg4Options ¶
type Mpeg4Options struct { ResolutionsAvailable VideoResolution GovLengthRange IntRange FrameRateRange IntRange EncodingIntervalRange IntRange Mpeg4ProfilesSupported Mpeg4Profile }
type Mpeg4Options2 ¶
type Mpeg4Options2 struct { Mpeg4Options BitrateRange IntRange }
type Mpeg4Profile ¶
type MulticastConfiguration ¶
type NTPInformation ¶
type NTPInformation struct { FromDHCP bool NTPFromDHCP *NetworkHost NTPManual *NetworkHost Extension *NTPInformationExtension }
type NTPInformationExtension ¶
type NetworkCapabilities ¶
type NetworkCapabilities struct { IPFilter bool ZeroConfiguration bool IPVersion6 bool DynDNS bool Extension NetworkCapabilitiesExtension }
type NetworkCapabilitiesExtension ¶
type NetworkCapabilitiesExtension struct { Dot11Configuration bool Extension NetworkCapabilitiesExtension2 }
type NetworkGateway ¶
type NetworkGateway struct { IPv4Address IPv4Address IPv6Address IPv6Address }
type NetworkHost ¶
type NetworkHost struct { Type NetworkHostType `xml:"http://www.onvif.org/ver10/schema Type"` IPv4Address *IPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address"` IPv6Address *IPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address"` DNSname *DNSName `xml:"http://www.onvif.org/ver10/schema DNSname"` Extension *NetworkHostExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type NetworkHostExtension ¶
type NetworkHostType ¶
type NetworkInterface ¶
type NetworkInterface struct { DeviceEntity Enabled bool Info *NetworkInterfaceInfo Link *NetworkInterfaceLink IPv4 *IPv4NetworkInterface IPv6 *IPv6NetworkInterface Extension *NetworkInterfaceExtension }
type NetworkInterfaceConfigPriority ¶
TODO: restrictions
type NetworkInterfaceExtension ¶
type NetworkInterfaceExtension struct { InterfaceType IANA_IfTypes Dot3 Dot3Configuration Dot11 Dot11Configuration Extension NetworkInterfaceExtension2 }
type NetworkInterfaceInfo ¶
type NetworkInterfaceLink ¶
type NetworkInterfaceLink struct { AdminSettings NetworkInterfaceConnectionSetting OperSettings NetworkInterfaceConnectionSetting InterfaceType IANA_IfTypes `xml:"IANA-IfTypes"` }
type NetworkInterfaceSetConfiguration ¶
type NetworkInterfaceSetConfiguration struct { Enabled bool `xml:"http://www.onvif.org/ver10/schema Enabled"` Link NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema Link"` MTU int `xml:"http://www.onvif.org/ver10/schema MTU"` IPv4 IPv4NetworkInterfaceSetConfiguration `xml:"http://www.onvif.org/ver10/schema IPv4"` IPv6 IPv6NetworkInterfaceSetConfiguration `xml:"http://www.onvif.org/ver10/schema IPv6"` Extension NetworkInterfaceSetConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type NetworkInterfaceSetConfigurationExtension ¶
type NetworkInterfaceSetConfigurationExtension struct { Dot3 Dot3Configuration `xml:"http://www.onvif.org/ver10/schema Dot3"` Dot11 Dot11Configuration `xml:"http://www.onvif.org/ver10/schema Dot11"` Extension NetworkInterfaceSetConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type NetworkProtocol ¶
type NetworkProtocol struct { Name NetworkProtocolType `xml:"http://www.onvif.org/ver10/schema Name"` Enabled bool `xml:"http://www.onvif.org/ver10/schema Enabled"` Port int `xml:"http://www.onvif.org/ver10/schema Port"` Extension *NetworkProtocolExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type NetworkZeroConfiguration ¶
type NetworkZeroConfiguration struct { InterfaceToken ReferenceToken Enabled bool Addresses IPv4Address Extension NetworkZeroConfigurationExtension }
type NetworkZeroConfigurationExtension ¶
type NetworkZeroConfigurationExtension struct { Additional *NetworkZeroConfiguration Extension NetworkZeroConfigurationExtension2 }
type NoiseReduction ¶
type NoiseReduction struct {
Level float64 `xml:"http://www.onvif.org/ver10/schema Level"`
}
type OSDColorOptions ¶
type OSDColorOptions struct { Color *ColorOptions Transparent *IntRange Extension *OSDColorOptionsExtension }
type OSDConfiguration ¶
type OSDConfiguration struct { DeviceEntity `xml:"token,attr"` VideoSourceConfigurationToken OSDReference `xml:"http://www.onvif.org/ver10/schema VideoSourceConfigurationToken"` Type OSDType `xml:"http://www.onvif.org/ver10/schema Type"` Position OSDPosConfiguration `xml:"http://www.onvif.org/ver10/schema Position"` TextString *OSDTextConfiguration `xml:"http://www.onvif.org/ver10/schema TextString"` Image *OSDImgConfiguration `xml:"http://www.onvif.org/ver10/schema Image"` Extension *OSDConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type OSDConfigurationOptions ¶
type OSDConfigurationOptions struct { MaximumNumberOfOSDs MaximumNumberOfOSDs Type []OSDType PositionOption []string TextOption *OSDTextOptions ImageOption *OSDImgOptions Extension *OSDConfigurationOptionsExtension }
type OSDImgConfiguration ¶
type OSDImgConfiguration struct { ImgPath xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema ImgPath"` Extension *OSDImgConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type OSDImgOptions ¶
type OSDImgOptions struct { FormatsSupported StringAttrList `xml:"FormatsSupported,attr"` MaxSize int `xml:"MaxSize,attr"` MaxWidth int `xml:"MaxWidth,attr"` MaxHeight int `xml:"MaxHeight,attr"` ImagePath []xsd.AnyURI Extension *OSDImgOptionsExtension }
type OSDImgOptionsExtension ¶
type OSDPosConfiguration ¶
type OSDPosConfiguration struct { Type string `xml:"http://www.onvif.org/ver10/schema Type"` Pos *Vector `xml:"http://www.onvif.org/ver10/schema Pos"` Extension *OSDPosConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type OSDReference ¶
type OSDReference ReferenceToken
type OSDTextConfiguration ¶
type OSDTextConfiguration struct { IsPersistentText bool `xml:"IsPersistentText,attr"` Type string `xml:"http://www.onvif.org/ver10/schema Type"` DateFormat string `xml:"http://www.onvif.org/ver10/schema DateFormat,omitempty"` TimeFormat string `xml:"http://www.onvif.org/ver10/schema TimeFormat,omitempty"` FontSize int `xml:"http://www.onvif.org/ver10/schema FontSize,omitempty"` FontColor *OSDColor `xml:"http://www.onvif.org/ver10/schema FontColor"` BackgroundColor *OSDColor `xml:"http://www.onvif.org/ver10/schema BackgroundColor"` PlainText string `xml:"http://www.onvif.org/ver10/schema PlainText,omitempty"` Extension *OSDTextConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type OSDTextOptions ¶
type OSDTextOptions struct { Type []string FontSizeRange *IntRange DateFormat []string TimeFormat []string FontColor *OSDColorOptions BackgroundColor *OSDColorOptions Extension *OSDTextOptionsExtension }
type OSDTextOptionsExtension ¶
type OnvifVersion ¶
type PTControlDirection ¶
type PTControlDirection struct { EFlip EFlip `xml:"http://www.onvif.org/ver10/schema EFlip"` Reverse Reverse `xml:"http://www.onvif.org/ver10/schema Reverse"` Extension PTControlDirectionExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type PTControlDirectionOptions ¶
type PTControlDirectionOptions struct { EFlip EFlipOptions Reverse ReverseOptions Extension PTControlDirectionOptionsExtension }
type PTZCapabilities ¶
type PTZConfiguration ¶
type PTZConfiguration struct { ConfigurationEntity MoveRamp int `xml:"MoveRamp,attr"` PresetRamp int `xml:"PresetRamp,attr"` PresetTourRamp int `xml:"PresetTourRamp,attr"` NodeToken ReferenceToken `xml:"http://www.onvif.org/ver10/schema NodeToken"` DefaultAbsolutePantTiltPositionSpace xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultAbsolutePantTiltPositionSpace"` DefaultAbsoluteZoomPositionSpace xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultAbsoluteZoomPositionSpace"` DefaultRelativePanTiltTranslationSpace xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultRelativePanTiltTranslationSpace"` DefaultRelativeZoomTranslationSpace xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultRelativeZoomTranslationSpace"` DefaultContinuousPanTiltVelocitySpace xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultContinuousPanTiltVelocitySpace"` DefaultContinuousZoomVelocitySpace xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultContinuousZoomVelocitySpace"` DefaultPTZSpeed PTZSpeed `xml:"http://www.onvif.org/ver10/schema DefaultPTZSpeed"` DefaultPTZTimeout xsd.Duration `xml:"http://www.onvif.org/ver10/schema DefaultPTZTimeout"` PanTiltLimits PanTiltLimits `xml:"http://www.onvif.org/ver10/schema PanTiltLimits"` ZoomLimits ZoomLimits `xml:"http://www.onvif.org/ver10/schema ZoomLimits"` Extension PTZConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type PTZConfigurationExtension ¶
type PTZConfigurationExtension struct { PTControlDirection PTControlDirection `xml:"http://www.onvif.org/ver10/schema PTControlDirection"` Extension PTZConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type PTZConfigurationOptions ¶
type PTZConfigurationOptions struct { PTZRamps IntAttrList `xml:"PTZRamps,attr"` Spaces PTZSpaces PTZTimeout DurationRange PTControlDirection PTControlDirectionOptions Extension PTZConfigurationOptions2 }
type PTZMoveStatus ¶
type PTZMoveStatus struct { PanTilt MoveStatus Zoom MoveStatus }
type PTZNode ¶
type PTZNode struct { DeviceEntity FixedHomePosition bool `xml:"FixedHomePosition,attr"` GeoMove bool `xml:"GeoMove,attr"` Name Name SupportedPTZSpaces PTZSpaces MaximumNumberOfPresets int HomeSupported bool AuxiliaryCommands AuxiliaryData Extension PTZNodeExtension }
type PTZNodeExtension ¶
type PTZNodeExtension struct { SupportedPresetTour PTZPresetTourSupported Extension PTZNodeExtension2 }
type PTZNodeExtension2 ¶
type PTZPreset ¶
type PTZPreset struct { Token ReferenceToken `xml:"token,attr"` Name Name PTZPosition PTZVector }
type PTZPresetTourDirection ¶
type PTZPresetTourExtension ¶
type PTZPresetTourOperation ¶
type PTZPresetTourOptions ¶
type PTZPresetTourOptions struct { AutoStart bool StartingCondition PTZPresetTourStartingConditionOptions TourSpot PTZPresetTourSpotOptions }
type PTZPresetTourPresetDetail ¶
type PTZPresetTourPresetDetail struct { PresetToken ReferenceToken `xml:"http://www.onvif.org/ver10/schema PresetToken"` Home bool `xml:"http://www.onvif.org/ver10/schema Home"` PTZPosition PTZVector `xml:"http://www.onvif.org/ver10/schema PTZPosition"` TypeExtension PTZPresetTourTypeExtension `xml:"http://www.onvif.org/ver10/schema TypeExtension"` }
type PTZPresetTourPresetDetailOptions ¶
type PTZPresetTourPresetDetailOptions struct { PresetToken ReferenceToken Home bool PanTiltPositionSpace Space2DDescription ZoomPositionSpace Space1DDescription Extension PTZPresetTourPresetDetailOptionsExtension }
type PTZPresetTourSpot ¶
type PTZPresetTourSpot struct { PresetDetail PTZPresetTourPresetDetail `xml:"http://www.onvif.org/ver10/schema PresetDetail"` Speed PTZSpeed `xml:"http://www.onvif.org/ver10/schema Speed"` StayTime xsd.Duration `xml:"http://www.onvif.org/ver10/schema StayTime"` Extension PTZPresetTourSpotExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type PTZPresetTourSpotOptions ¶
type PTZPresetTourSpotOptions struct { PresetDetail PTZPresetTourPresetDetailOptions StayTime DurationRange }
type PTZPresetTourStartingCondition ¶
type PTZPresetTourStartingCondition struct { RandomPresetOrder bool `xml:"RandomPresetOrder,attr"` RecurringTime int `xml:"http://www.onvif.org/ver10/schema RecurringTime"` RecurringDuration xsd.Duration `xml:"http://www.onvif.org/ver10/schema RecurringDuration"` Direction PTZPresetTourDirection `xml:"http://www.onvif.org/ver10/schema Direction"` Extension PTZPresetTourStartingConditionExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type PTZPresetTourStartingConditionOptions ¶
type PTZPresetTourStartingConditionOptions struct { RecurringTime IntRange RecurringDuration DurationRange Direction PTZPresetTourDirection Extension PTZPresetTourStartingConditionOptionsExtension }
type PTZPresetTourState ¶
type PTZPresetTourStatus ¶
type PTZPresetTourStatus struct { State PTZPresetTourState `xml:"http://www.onvif.org/ver10/schema State"` CurrentTourSpot PTZPresetTourSpot `xml:"http://www.onvif.org/ver10/schema CurrentTourSpot"` Extension PTZPresetTourStatusExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type PTZPresetTourSupported ¶
type PTZPresetTourSupported struct { MaximumNumberOfPresetTours int PTZPresetTourOperation PTZPresetTourOperation Extension PTZPresetTourSupportedExtension }
type PTZSpaces ¶
type PTZSpaces struct { AbsolutePanTiltPositionSpace Space2DDescription AbsoluteZoomPositionSpace Space1DDescription RelativePanTiltTranslationSpace Space2DDescription RelativeZoomTranslationSpace Space1DDescription ContinuousPanTiltVelocitySpace Space2DDescription ContinuousZoomVelocitySpace Space1DDescription PanTiltSpeedSpace Space1DDescription ZoomSpeedSpace Space1DDescription Extension PTZSpacesExtension }
type PTZSpacesExtension ¶
type PTZStatus ¶
type PTZStatus struct { Position PTZVector MoveStatus PTZMoveStatus Error string UtcTime xsd.DateTime }
type PTZStatusFilterOptions ¶
type PTZStatusFilterOptions struct { PanTiltStatusSupported bool ZoomStatusSupported bool PanTiltPositionSupported bool ZoomPositionSupported bool Extension *PTZStatusFilterOptionsExtension }
type PanTiltLimits ¶
type PanTiltLimits struct {
Range Space2DDescription `xml:"http://www.onvif.org/ver10/schema Range"`
}
type PosixTimezone ¶
type PosixTimezone struct { Name string Offset posixTimezoneOffset Dailing *posixTimezoneDailing }
func ParsePosixTimezone ¶
func ParsePosixTimezone(timezone string) (*PosixTimezone, error)
func (*PosixTimezone) LocalToUTC ¶
func (tz *PosixTimezone) LocalToUTC(t time.Time) time.Time
type PrefixedIPv4Address ¶
type PrefixedIPv4Address struct { Address IPv4Address `xml:"http://www.onvif.org/ver10/schema Address"` PrefixLength int `xml:"http://www.onvif.org/ver10/schema PrefixLength"` }
optional, unbounded
type PrefixedIPv6Address ¶
type PrefixedIPv6Address struct { Address IPv6Address `xml:"http://www.onvif.org/ver10/schema Address"` PrefixLength int `xml:"http://www.onvif.org/ver10/schema PrefixLength"` }
type PresetTour ¶
type PresetTour struct { Token ReferenceToken `xml:"token,attr"` Name Name `xml:"http://www.onvif.org/ver10/schema Name"` Status PTZPresetTourStatus `xml:"http://www.onvif.org/ver10/schema Status"` AutoStart bool `xml:"http://www.onvif.org/ver10/schema AutoStart"` StartingCondition PTZPresetTourStartingCondition `xml:"http://www.onvif.org/ver10/schema StartingCondition"` TourSpot PTZPresetTourSpot `xml:"http://www.onvif.org/ver10/schema TourSpot"` Extension PTZPresetTourExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type Profile ¶
type Profile struct { Token ReferenceToken `xml:"token,attr"` Fixed bool `xml:"fixed,attr"` Name Name VideoSourceConfiguration *VideoSourceConfiguration AudioSourceConfiguration *AudioSourceConfiguration VideoEncoderConfiguration *VideoEncoderConfiguration AudioEncoderConfiguration *AudioEncoderConfiguration VideoAnalyticsConfiguration *VideoAnalyticsConfiguration PTZConfiguration *PTZConfiguration MetadataConfiguration *MetadataConfiguration Extension *ProfileExtension }
type ProfileCapabilities ¶
type ProfileCapabilities struct {
MaximumNumberOfProfiles int
}
type ProfileExtension ¶
type ProfileExtension struct { AudioOutputConfiguration *AudioOutputConfiguration AudioDecoderConfiguration *AudioDecoderConfiguration Extension *ProfileExtension2 }
type ProfileExtension2 ¶
type RealTimeStreamingCapabilities ¶
type RealTimeStreamingCapabilities struct { RTPMulticast bool RTP_TCP bool RTP_RTSP_TCP bool Extension RealTimeStreamingCapabilitiesExtension }
type ReceiverCapabilities ¶
type RecordingCapabilities ¶
type ReferenceToken ¶
type RelativeFocus ¶
type RelayOutput ¶
type RelayOutput struct { DeviceEntity Properties RelayOutputSettings }
type RelayOutputSettings ¶
type RelayOutputSettings struct { Mode RelayMode `xml:"http://www.onvif.org/ver10/schema Mode"` DelayTime xsd.Duration `xml:"http://www.onvif.org/ver10/schema DelayTime"` IdleState RelayIdleState `xml:"http://www.onvif.org/ver10/schema IdleState"` }
type RemoteUser ¶
type ReplayCapabilities ¶
type Reverse ¶
type Reverse struct {
Mode ReverseMode `xml:"http://www.onvif.org/ver10/schema Mode"`
}
type ReverseMode ¶
type ReverseOptions ¶
type ReverseOptions struct { Mode ReverseMode Extension ReverseOptionsExtension }
type ReverseOptionsExtension ¶
type Rotate ¶
type Rotate struct { Mode RotateMode `xml:"http://www.onvif.org/ver10/schema Mode"` Degree int `xml:"http://www.onvif.org/ver10/schema Degree"` Extension RotateExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type RotateExtension ¶
type RotateMode ¶
type RotateOptions ¶
type RotateOptions struct { Mode RotateMode DegreeList IntList Extension RotateOptionsExtension }
type RotateOptionsExtension ¶
type RuleEngineConfiguration ¶
type RuleEngineConfiguration struct { Rule Config `xml:"http://www.onvif.org/ver10/schema Rule"` Extension RuleEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type SceneOrientation ¶
type SceneOrientation struct { Mode SceneOrientationMode `xml:"http://www.onvif.org/ver10/schema Mode"` Orientation xsd.String `xml:"http://www.onvif.org/ver10/schema Orientation"` }
type SceneOrientationMode ¶
type Scope ¶
type Scope struct { ScopeDef ScopeDefinition ScopeItem xsd.AnyURI }
type ScopeDefinition ¶
type SearchCapabilities ¶
type SecurityCapabilities ¶
type SecurityCapabilitiesExtension ¶
type SecurityCapabilitiesExtension struct { TLS1_0 bool Extension SecurityCapabilitiesExtension2 }
type SetDateTimeType ¶
type Space1DDescription ¶
type Space1DDescription struct { URI xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema URI"` XRange FloatRange `xml:"http://www.onvif.org/ver10/schema XRange"` }
type Space2DDescription ¶
type Space2DDescription struct { URI xsd.AnyURI `xml:"http://www.onvif.org/ver10/schema URI"` XRange FloatRange `xml:"http://www.onvif.org/ver10/schema XRange"` YRange FloatRange `xml:"http://www.onvif.org/ver10/schema YRange"` }
type StreamSetup ¶
type StreamSetup struct { Stream StreamType `xml:"http://www.onvif.org/ver10/schema Stream"` Transport Transport `xml:"http://www.onvif.org/ver10/schema Transport"` }
type StreamType ¶
type StringAttrList ¶
type StringAttrList struct {
AttrList []string
}
TODO: <xs:list itemType="xs:string"/>
type SubscriptionPolicy ¶
type SupportInformation ¶
type SupportInformation struct { Binary AttachmentData String string }
type SystemCapabilities ¶
type SystemCapabilities struct { DiscoveryResolve bool DiscoveryBye bool RemoteDiscovery bool SystemBackup bool SystemLogging bool FirmwareUpgrade bool SupportedVersions OnvifVersion Extension SystemCapabilitiesExtension }
type SystemCapabilitiesExtension ¶
type SystemCapabilitiesExtension struct { HttpFirmwareUpgrade bool HttpSystemBackup bool HttpSystemLogging bool HttpSupportInformation bool Extension SystemCapabilitiesExtension2 }
type SystemDateTime ¶
type SystemDateTime struct { DateTimeType SetDateTimeType DaylightSavings bool TimeZone TimeZone UTCDateTime *DateTime LocalDateTime DateTime Extension SystemDateTimeExtension }
func (*SystemDateTime) GetUTCTime ¶
func (d *SystemDateTime) GetUTCTime() (time.Time, error)
type SystemDateTimeExtension ¶
type SystemLog ¶
type SystemLog struct { Binary AttachmentData String string }
type SystemLogType ¶
type SystemLogUri ¶
type SystemLogUri struct { Type SystemLogType Uri xsd.AnyURI }
type SystemLogUriList ¶
type SystemLogUriList struct {
SystemLog SystemLogUri
}
type TLSConfiguration ¶
type ToneCompensation ¶
type ToneCompensation struct { Mode string `xml:"http://www.onvif.org/ver10/schema Mode"` Level float64 `xml:"http://www.onvif.org/ver10/schema Level"` Extension ToneCompensationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type Transport ¶
type Transport struct { Protocol TransportProtocol `xml:"http://www.onvif.org/ver10/schema Protocol"` Tunnel *Transport `xml:"http://www.onvif.org/ver10/schema Tunnel"` }
type User ¶
type User struct { Username string `xml:"http://www.onvif.org/ver10/schema Username"` Password string `xml:"http://www.onvif.org/ver10/schema Password"` UserLevel UserLevel `xml:"http://www.onvif.org/ver10/schema UserLevel"` Extension *UserExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type UserExtension ¶
type VideoAnalyticsConfiguration ¶
type VideoAnalyticsConfiguration struct { ConfigurationEntity AnalyticsEngineConfiguration AnalyticsEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration"` RuleEngineConfiguration RuleEngineConfiguration `xml:"http://www.onvif.org/ver10/schema RuleEngineConfiguration"` }
type VideoEncoderConfiguration ¶
type VideoEncoderConfiguration struct { ConfigurationEntity Encoding VideoEncoding `xml:"http://www.onvif.org/ver10/schema Encoding"` Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution"` Quality float64 `xml:"http://www.onvif.org/ver10/schema Quality"` RateControl *VideoRateControl `xml:"http://www.onvif.org/ver10/schema RateControl"` MPEG4 *Mpeg4Configuration `xml:"http://www.onvif.org/ver10/schema MPEG4"` H264 *H264Configuration `xml:"http://www.onvif.org/ver10/schema H264"` Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast"` SessionTimeout xsd.Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout"` }
type VideoEncoderConfigurationOptions ¶
type VideoEncoderConfigurationOptions struct { QualityRange IntRange JPEG JpegOptions MPEG4 Mpeg4Options H264 H264Options Extension VideoEncoderOptionsExtension }
type VideoEncoderOptionsExtension ¶
type VideoEncoderOptionsExtension struct { JPEG JpegOptions2 MPEG4 Mpeg4Options2 H264 H264Options2 Extension VideoEncoderOptionsExtension2 }
type VideoEncoding ¶
type VideoRateControl ¶
type VideoResolution ¶
type VideoSource ¶
type VideoSource struct { DeviceEntity Framerate float64 Resolution VideoResolution Imaging *ImagingSettings Extension *VideoSourceExtension }
type VideoSourceConfiguration ¶
type VideoSourceConfiguration struct { ConfigurationEntity ViewMode string `xml:"ViewMode,attr"` SourceToken ReferenceToken `xml:"http://www.onvif.org/ver10/schema SourceToken"` Bounds IntRectangle `xml:"http://www.onvif.org/ver10/schema Bounds"` Extension *VideoSourceConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type VideoSourceConfigurationExtension ¶
type VideoSourceConfigurationExtension struct { Rotate Rotate `xml:"http://www.onvif.org/ver10/schema Rotate"` Extension VideoSourceConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension"` }
type VideoSourceConfigurationExtension2 ¶
type VideoSourceConfigurationExtension2 struct { LensDescription LensDescription `xml:"http://www.onvif.org/ver10/schema LensDescription"` SceneOrientation SceneOrientation `xml:"http://www.onvif.org/ver10/schema SceneOrientation"` }
type VideoSourceConfigurationOptions ¶
type VideoSourceConfigurationOptions struct { MaximumNumberOfProfiles int `xml:"MaximumNumberOfProfiles,attr"` BoundsRange IntRectangleRange VideoSourceTokensAvailable ReferenceToken Extension VideoSourceConfigurationOptionsExtension }
type VideoSourceConfigurationOptionsExtension ¶
type VideoSourceConfigurationOptionsExtension struct { Rotate RotateOptions Extension VideoSourceConfigurationOptionsExtension2 }
type VideoSourceConfigurationOptionsExtension2 ¶
type VideoSourceConfigurationOptionsExtension2 struct {
SceneOrientationMode SceneOrientationMode
}
type VideoSourceExtension ¶
type VideoSourceExtension struct { Imaging ImagingSettings20 Extension VideoSourceExtension2 }
type VideoSourceExtension2 ¶
type VideoSourceMode ¶
type VideoSourceMode struct { Token ReferenceToken `xml:"token,attr"` Enabled bool `xml:"Enabled,attr"` MaxFramerate float64 MaxResolution VideoResolution Encodings EncodingTypes Reboot bool Description *Description Extension *VideoSourceModeExtension }
type WhiteBalance ¶
type WhiteBalance struct { Mode WhiteBalanceMode CrGain float64 CbGain float64 }
type WhiteBalance20 ¶
type WhiteBalance20 struct { Mode WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode"` CrGain float64 `xml:"http://www.onvif.org/ver10/schema CrGain"` CbGain float64 `xml:"http://www.onvif.org/ver10/schema CbGain"` Extension WhiteBalance20Extension `xml:"http://www.onvif.org/ver10/schema Extension"` }
type WhiteBalance20Extension ¶
type WhiteBalanceMode ¶
type WideDynamicMode ¶
type WideDynamicRange ¶
type WideDynamicRange struct { Mode WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode"` Level float64 `xml:"http://www.onvif.org/ver10/schema Level"` }
type WideDynamicRange20 ¶
type WideDynamicRange20 struct { Mode WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode"` Level float64 `xml:"http://www.onvif.org/ver10/schema Level"` }
type ZoomLimits ¶
type ZoomLimits struct {
Range Space1DDescription `xml:"http://www.onvif.org/ver10/schema Range"`
}
Click to show internal directories.
Click to hide internal directories.