Documentation
¶
Index ¶
- type AACDecOptions
- type AFModes
- type AbsoluteFocus
- type AbsoluteFocusOptions
- type AbsoluteOrRelativeTimeType
- type Action
- type ActionEngineEventPayload
- type ActionEngineEventPayloadExtension
- type ActiveConnection
- type AnalyticsCapabilities
- type AnalyticsDeviceCapabilities
- type AnalyticsDeviceEngineConfiguration
- type AnalyticsDeviceEngineConfigurationExtension
- type AnalyticsDeviceExtension
- type AnalyticsEngine
- type AnalyticsEngineConfiguration
- type AnalyticsEngineConfigurationExtension
- type AnalyticsEngineInput
- type AnalyticsEngineInputInfo
- type AnalyticsEngineInputInfoExtension
- type AnySimpleType
- type AnyURI
- type ArrayOfFileProgress
- type ArrayOfFileProgressExtension
- type AttributedURIType
- type AudioAttributes
- type AudioClassCandidate
- type AudioClassDescriptor
- type AudioClassDescriptorExtension
- type AudioClassType
- type AudioDecoderConfiguration
- type AudioDecoderConfigurationOptions
- type AudioDecoderConfigurationOptionsExtension
- type AudioEncoderConfiguration
- type AudioEncoding
- type AudioEncodingMimeNames
- type AudioOutput
- type AudioOutputConfiguration
- type AudioSource
- type AudioSourceConfiguration
- type AutoFocusMode
- type AuxiliaryData
- type BacklightCompensation
- type BacklightCompensation20
- type BacklightCompensationMode
- type BacklightCompensationOptions
- type BacklightCompensationOptions20
- type BaseFault
- type BaseFaultType
- type BinaryData
- type Body
- type Capabilities
- type CapabilitiesExtension
- type CapabilitiesExtension2
- type CapabilityCategory
- type Certificate
- type CertificateGenerationParameters
- type CertificateGenerationParametersExtension
- type CertificateInformation
- type CertificateInformationExtension
- type CertificateUsage
- type Color
- type ColorOptions
- type ColorspaceRange
- type ConcreteTopicExpression
- type Config
- type ConfigDescription
- type ConfigDescriptionExtension
- type ConfigurationEntity
- type ConsumerReference
- type ContinuousFocus
- type ContinuousFocusOptions
- type CreationTime
- type CurrentTime
- type DNSInformation
- type DNSInformationExtension
- type DNSName
- type Date
- type DateTime
- type DateTimeRange
- type Defogging
- type DefoggingExtension
- type DefoggingMode
- type DefoggingOptions
- type Description
- type Detail
- type DeviceCapabilities
- type DeviceCapabilitiesExtension
- type DeviceEntity
- type DeviceIOCapabilities
- type DigitalIdleState
- type Direction
- type DiscoveryMode
- type DisplayCapabilities
- type Documentation
- type Dot11AuthAndMangementSuite
- type Dot11AvailableNetworks
- type Dot11AvailableNetworksExtension
- 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 Dot1XConfiguration
- type Dot1XConfigurationExtension
- type Dot3Configuration
- type Duplex
- type Duration
- type DurationRange
- type DynamicDNSInformation
- type DynamicDNSInformationExtension
- type DynamicDNSType
- type EAPMethodConfiguration
- type EFlip
- type EFlipMode
- type EFlipOptions
- type EFlipOptionsExtension
- type EapMethodExtension
- type Enabled
- type EndpointReference
- type EndpointReferenceType
- type EngineConfiguration
- type Entity
- type Envelope
- type EventCapabilities
- type EventSubscription
- type Exposure
- type Exposure20
- type ExposureMode
- type ExposureOptions
- type ExposureOptions20
- type ExposurePriority
- type ExtensibleDocumented
- type FactoryDefaultType
- type Fault
- type FaultCodesType
- type Faultcode
- type FaultcodeEnum
- type Faultreason
- type FileProgress
- type Filter
- type FilterType
- type FixedTopicSet
- type FloatAttrList
- type FloatRange
- type FocusConfiguration
- type FocusConfiguration20
- type FocusConfiguration20Extension
- type FocusMove
- type FocusOptions
- type FocusOptions20
- type FocusOptions20Extension
- type FocusStatus
- type FocusStatus20
- type FocusStatus20Extension
- type G711DecOptions
- type G726DecOptions
- type GetCurrentPreset
- type GetCurrentPresetResponse
- type GetImagingSettings
- type GetImagingSettingsResponse
- type GetMoveOptions
- type GetMoveOptionsResponse
- type GetOptions
- type GetOptionsResponse
- type GetPresets
- type GetPresetsResponse
- type GetServiceCapabilities
- type GetServiceCapabilitiesResponse
- type GetStatus
- type GetStatusResponse
- type H264Configuration
- type H264DecOptions
- type H264Options
- type H264Options2
- type H264Profile
- type Header
- type HostnameInformation
- type HostnameInformationExtension
- type HwAddress
- type IANAIfTypes
- 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 ImageStabilizationOptions
- type ImageStabilizationOptionsExtension
- type ImagingCapabilities
- type ImagingOptions
- type ImagingOptions20
- type ImagingOptions20Extension
- type ImagingOptions20Extension2
- type ImagingOptions20Extension3
- type ImagingOptions20Extension4
- type ImagingPort
- type ImagingPreset
- type ImagingPresetType
- type ImagingSettings
- type ImagingSettings20
- type ImagingSettingsExtension
- type ImagingSettingsExtension20
- type ImagingSettingsExtension202
- type ImagingSettingsExtension203
- type ImagingSettingsExtension204
- type ImagingStatus
- type ImagingStatus20
- type ImagingStatus20Extension
- type Include
- type IntAttrList
- type IntList
- type IntRange
- type IntRectangle
- type IntRectangleRange
- type InvalidFilterFault
- type InvalidFilterFaultType
- type InvalidMessageContentExpressionFault
- type InvalidMessageContentExpressionFaultType
- type InvalidProducerPropertiesExpressionFault
- type InvalidProducerPropertiesExpressionFaultType
- type InvalidTopicExpressionFault
- type InvalidTopicExpressionFaultType
- type IrCutFilterAutoAdjustment
- type IrCutFilterAutoAdjustmentExtension
- type IrCutFilterAutoAdjustmentOptions
- type IrCutFilterAutoAdjustmentOptionsExtension
- type IrCutFilterAutoBoundaryType
- type IrCutFilterMode
- type ItemList
- type ItemListDescription
- type ItemListDescriptionExtension
- type ItemListExtension
- type JobToken
- type JpegDecOptions
- type JpegOptions
- type JpegOptions2
- type Layout
- type LayoutExtension
- type LayoutOptions
- type LayoutOptionsExtension
- type LensDescription
- type LensOffset
- type LensProjection
- type MaximumNumberOfOSDs
- type MediaCapabilities
- type MediaCapabilitiesExtension
- type Message
- type MessageDescription
- type MessageDescriptionExtension
- type MessageExtension
- type Metadata
- type MetadataAttributes
- type MetadataCompressionType
- type MetadataConfiguration
- type MetadataConfigurationExtension
- type MetadataConfigurationOptions
- type MetadataConfigurationOptionsExtension
- type MetadataConfigurationOptionsExtension2
- type MetadataInput
- type MetadataInputExtension
- type MetadataType
- type ModeOfOperation
- type Move
- type MoveOptions
- type MoveOptions20
- type MoveResponse
- type MoveStatus
- type Mpeg4Configuration
- type Mpeg4DecOptions
- type Mpeg4Options
- type Mpeg4Options2
- type Mpeg4Profile
- type MulticastConfiguration
- type MultipleTopicsSpecifiedFault
- type MultipleTopicsSpecifiedFaultType
- type NCName
- type NTPInformation
- type NTPInformationExtension
- type Name
- type NetworkCapabilities
- type NetworkCapabilitiesExtension
- type NetworkCapabilitiesExtension2
- 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 NoCurrentMessageOnTopicFault
- type NoCurrentMessageOnTopicFaultType
- type NoiseReduction
- type NoiseReductionOptions
- type NotUnderstood
- type NotUnderstoodType
- type NotificationMessage
- type NotificationMessageHolderType
- type Notify
- type NotifyMessageNotSupportedFault
- type NotifyMessageNotSupportedFaultType
- 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 PTZPresetTourOperation
- type PTZPresetTourPresetDetail
- type PTZPresetTourPresetDetailOptions
- type PTZPresetTourPresetDetailOptionsExtension
- type PTZPresetTourSpot
- type PTZPresetTourSpotExtension
- 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 PaneLayout
- type PaneLayoutOptions
- type PaneOptionExtension
- type PauseFailedFault
- type PauseFailedFaultType
- type Polygon
- type Polyline
- type PolylineArray
- type PolylineArrayExtension
- type PrefixedIPv4Address
- type PrefixedIPv6Address
- type ProblemAction
- type ProblemActionType
- type ProducerReference
- type Profile
- type ProfileCapabilities
- type ProfileExtension
- type ProfileExtension2
- type ProfileStatus
- type ProfileStatusExtension
- type PropertyOperation
- type QName
- type QueryExpressionType
- type RealTimeStreamingCapabilities
- type RealTimeStreamingCapabilitiesExtension
- type Reasontext
- type Receiver
- type ReceiverCapabilities
- type ReceiverConfiguration
- type ReceiverMode
- type ReceiverReference
- type ReceiverState
- type RecordingCapabilities
- type RecordingJobConfiguration
- type RecordingJobConfigurationExtension
- type RecordingJobMode
- type RecordingJobReference
- type RecordingJobSource
- type RecordingJobSourceExtension
- type RecordingJobState
- type RecordingJobStateInformation
- type RecordingJobStateInformationExtension
- type RecordingJobStateSource
- type RecordingJobStateTrack
- type RecordingJobStateTracks
- type RecordingJobTrack
- type RecordingReference
- type RecordingSourceInformation
- type RecordingStatus
- type Rectangle
- type ReferenceParametersType
- type ReferenceToken
- type ReferenceTokenList
- type RelatesTo
- type RelatesToType
- type RelationshipType
- type RelationshipTypeOpenEnum
- type RelativeFocus
- type RelativeFocusOptions
- type RelativeFocusOptions20
- type RelayIdleState
- type RelayLogicalState
- type RelayMode
- type RelayOutput
- type RelayOutputSettings
- type ReplayCapabilities
- type ResumeFailedFault
- type ResumeFailedFaultType
- 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 SceneOrientationOption
- type Scope
- type ScopeDefinition
- type SearchCapabilities
- type SearchScope
- type SearchScopeExtension
- type SearchState
- type SecurityCapabilities
- type SecurityCapabilitiesExtension
- type SecurityCapabilitiesExtension2
- type SetCurrentPreset
- type SetCurrentPresetResponse
- type SetDateTimeType
- type SetImagingSettings
- type SetImagingSettingsResponse
- type SimpleTopicExpression
- type SourceIdentification
- type SourceIdentificationExtension
- type SourceReference
- type Space1DDescription
- type Space2DDescription
- type Stop
- type StopResponse
- type StorageReferencePath
- type StorageReferencePathExtension
- type StreamSetup
- type StreamType
- type String
- type StringAttrList
- type Subcode
- type Subscribe
- type SubscribeCreationFailedFault
- type SubscribeCreationFailedFaultType
- type SubscriptionPolicy
- type SubscriptionPolicyType
- type SubscriptionReference
- type SupportedAnalyticsModules
- type SupportedAnalyticsModulesExtension
- type SupportedEnvType
- type SupportedRules
- type SupportedRulesExtension
- type SystemCapabilities
- type SystemCapabilitiesExtension
- type SystemCapabilitiesExtension2
- type SystemDateTime
- type SystemDateTimeExtension
- type SystemLogType
- type TLSConfiguration
- type TerminationTime
- type Time
- type TimeZone
- type To
- type ToneCompensation
- type ToneCompensationExtension
- type ToneCompensationMode
- type ToneCompensationOptions
- type Topic
- type TopicExpression
- type TopicExpressionDialect
- type TopicExpressionDialectUnknownFault
- type TopicExpressionDialectUnknownFaultType
- type TopicExpressionType
- type TopicNamespace
- type TopicNamespaceLocation
- type TopicNamespaceType
- type TopicNotSupportedFault
- type TopicNotSupportedFaultType
- type TopicSet
- type TopicSetType
- type TopicType
- type TrackAttributes
- type TrackAttributesExtension
- type TrackInformation
- type TrackReference
- type TrackType
- type Transformation
- type TransformationExtension
- type Transport
- type TransportProtocol
- type UnableToCreatePullPointFault
- type UnableToCreatePullPointFaultType
- type UnableToDestroyPullPointFault
- type UnableToDestroyPullPointFaultType
- type UnableToDestroySubscriptionFault
- type UnableToDestroySubscriptionFaultType
- type UnableToGetMessagesFault
- type UnableToGetMessagesFaultType
- type UnacceptableInitialTerminationTimeFault
- type UnacceptableInitialTerminationTimeFaultType
- type UnacceptableTerminationTimeFault
- type UnacceptableTerminationTimeFaultType
- type UnrecognizedPolicyRequestFault
- type UnrecognizedPolicyRequestFaultType
- type UnsupportedPolicyRequestFault
- type UnsupportedPolicyRequestFaultType
- type Upgrade
- type UpgradeType
- type User
- type UserExtension
- type UserLevel
- type Vector
- type Vector1D
- type Vector2D
- type VideoAnalyticsConfiguration
- type VideoAttributes
- type VideoDecoderConfigurationOptions
- type VideoDecoderConfigurationOptionsExtension
- type VideoEncoderConfiguration
- type VideoEncoderOptionsExtension
- type VideoEncoderOptionsExtension2
- type VideoEncoding
- type VideoEncodingMimeNames
- type VideoEncodingProfiles
- type VideoOutput
- type VideoOutputExtension
- type VideoRateControl
- type VideoResolution
- type VideoSource
- type VideoSourceConfiguration
- type VideoSourceConfigurationExtension
- type VideoSourceConfigurationExtension2
- type VideoSourceConfigurationOptions
- type VideoSourceConfigurationOptionsExtension
- type VideoSourceConfigurationOptionsExtension2
- type VideoSourceExtension
- type VideoSourceExtension2
- type ViewModes
- type WhiteBalance
- type WhiteBalance20
- type WhiteBalance20Extension
- type WhiteBalanceMode
- type WhiteBalanceOptions
- type WhiteBalanceOptions20
- type WhiteBalanceOptions20Extension
- type WideDynamicMode
- type WideDynamicRange
- type WideDynamicRange20
- type WideDynamicRangeOptions
- type WideDynamicRangeOptions20
- type XPathExpression
- type ZoomLimits
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AACDecOptions ¶
type AACDecOptions struct { // List of supported bitrates in kbps Bitrate IntList `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"` // List of supported sample rates in kHz SampleRateRange IntList `xml:"http://www.onvif.org/ver10/schema SampleRateRange,omitempty"` }
AACDecOptions type
type AFModes ¶
type AFModes string
AFModes type
const ( // Focus of a moving camera is updated only once after stopping a pan, tilt or zoom movement. // AFModesOnceAfterMove const AFModesOnceAfterMove AFModes = "OnceAfterMove" )
type AbsoluteFocus ¶
type AbsoluteFocus struct { // // Position parameter for the absolute focus control. // Position float32 `xml:"http://www.onvif.org/ver10/schema Position,omitempty"` // // Speed parameter for the absolute focus control. // Speed float32 `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
AbsoluteFocus type
type AbsoluteFocusOptions ¶
type AbsoluteFocusOptions struct { // // Valid ranges of the position. // Position FloatRange `xml:"http://www.onvif.org/ver10/schema Position,omitempty"` // // Valid ranges of the speed. // Speed FloatRange `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
AbsoluteFocusOptions type
type AbsoluteOrRelativeTimeType ¶
type AbsoluteOrRelativeTimeType string
AbsoluteOrRelativeTimeType type
type ActionEngineEventPayload ¶
type ActionEngineEventPayload struct { // Request Message RequestInfo Envelope `xml:"RequestInfo,omitempty"` // Response Message ResponseInfo Envelope `xml:"ResponseInfo,omitempty"` // Fault Message Fault Fault `xml:"Fault,omitempty"` Extension ActionEngineEventPayloadExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ActionEngineEventPayload type
type ActionEngineEventPayloadExtension ¶
type ActionEngineEventPayloadExtension struct { }
ActionEngineEventPayloadExtension type
type ActiveConnection ¶
type ActiveConnection struct { CurrentBitrate float32 `xml:"http://www.onvif.org/ver10/schema CurrentBitrate,omitempty"` CurrentFps float32 `xml:"http://www.onvif.org/ver10/schema CurrentFps,omitempty"` }
ActiveConnection type
type AnalyticsCapabilities ¶
type AnalyticsCapabilities struct { // Analytics service URI. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Indicates whether or not rules are supported. RuleSupport bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RuleSupport,omitempty"` // Indicates whether or not modules are supported. AnalyticsModuleSupport bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AnalyticsModuleSupport,omitempty"` }
AnalyticsCapabilities type
type AnalyticsDeviceCapabilities ¶
type AnalyticsDeviceCapabilities struct { XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Obsolete property. RuleSupport bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RuleSupport,omitempty"` Extension AnalyticsDeviceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
AnalyticsDeviceCapabilities type
type AnalyticsDeviceEngineConfiguration ¶
type AnalyticsDeviceEngineConfiguration struct { EngineConfiguration []EngineConfiguration `xml:"http://www.onvif.org/ver10/schema EngineConfiguration,omitempty"` Extension AnalyticsDeviceEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
AnalyticsDeviceEngineConfiguration type
type AnalyticsDeviceEngineConfigurationExtension ¶
type AnalyticsDeviceEngineConfigurationExtension struct { }
AnalyticsDeviceEngineConfigurationExtension type
type AnalyticsDeviceExtension ¶
type AnalyticsDeviceExtension struct { }
AnalyticsDeviceExtension type
type AnalyticsEngine ¶
type AnalyticsEngine struct { *ConfigurationEntity AnalyticsEngineConfiguration AnalyticsDeviceEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration,omitempty"` }
AnalyticsEngine type
type AnalyticsEngineConfiguration ¶
type AnalyticsEngineConfiguration struct { AnalyticsModule []Config `xml:"http://www.onvif.org/ver10/schema AnalyticsModule,omitempty"` Extension AnalyticsEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
AnalyticsEngineConfiguration type
type AnalyticsEngineConfigurationExtension ¶
type AnalyticsEngineConfigurationExtension struct { }
AnalyticsEngineConfigurationExtension type
type AnalyticsEngineInput ¶
type AnalyticsEngineInput struct { *ConfigurationEntity SourceIdentification SourceIdentification `xml:"http://www.onvif.org/ver10/schema SourceIdentification,omitempty"` VideoInput VideoEncoderConfiguration `xml:"http://www.onvif.org/ver10/schema VideoInput,omitempty"` MetadataInput MetadataInput `xml:"http://www.onvif.org/ver10/schema MetadataInput,omitempty"` }
AnalyticsEngineInput type
type AnalyticsEngineInputInfo ¶
type AnalyticsEngineInputInfo struct { InputInfo Config `xml:"http://www.onvif.org/ver10/schema InputInfo,omitempty"` Extension AnalyticsEngineInputInfoExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
AnalyticsEngineInputInfo type
type AnalyticsEngineInputInfoExtension ¶
type AnalyticsEngineInputInfoExtension struct { }
AnalyticsEngineInputInfoExtension type
type ArrayOfFileProgress ¶
type ArrayOfFileProgress struct { // Exported file name and export progress information FileProgress []FileProgress `xml:"http://www.onvif.org/ver10/schema FileProgress,omitempty"` Extension ArrayOfFileProgressExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ArrayOfFileProgress type
type ArrayOfFileProgressExtension ¶
type ArrayOfFileProgressExtension struct { }
ArrayOfFileProgressExtension type
type AttributedURIType ¶
type AttributedURIType struct { XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing MessageID"` Value AnyURI }
AttributedURIType type
type AudioAttributes ¶
type AudioAttributes struct { // The bitrate in kbps. Bitrate int32 `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"` // Audio encoding of the track. Use values from tt:AudioEncoding for G711 and AAC. Otherwise use values from tt:AudioEncodingMimeNames and . Encoding string `xml:"http://www.onvif.org/ver20/imaging/wsdl Encoding,omitempty"` // The sample rate in kHz. Samplerate int32 `xml:"http://www.onvif.org/ver10/schema Samplerate,omitempty"` }
AudioAttributes type
type AudioClassCandidate ¶
type AudioClassCandidate struct { // Indicates audio class label Type AudioClassType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` // A likelihood/probability that the corresponding audio event belongs to this class. The sum of the likelihoods shall NOT exceed 1 Likelihood float32 `xml:"http://www.onvif.org/ver10/schema Likelihood,omitempty"` }
AudioClassCandidate type
type AudioClassDescriptor ¶
type AudioClassDescriptor struct { // Array of audio class label and class probability ClassCandidate []AudioClassCandidate `xml:"http://www.onvif.org/ver10/schema ClassCandidate,omitempty"` Extension AudioClassDescriptorExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
AudioClassDescriptor type
type AudioClassDescriptorExtension ¶
type AudioClassDescriptorExtension struct { }
AudioClassDescriptorExtension type
type AudioDecoderConfiguration ¶
type AudioDecoderConfiguration struct {
*ConfigurationEntity
}
AudioDecoderConfiguration type
type AudioDecoderConfigurationOptions ¶
type AudioDecoderConfigurationOptions struct { // If the device is able to decode AAC encoded audio this section describes the supported configurations AACDecOptions AACDecOptions `xml:"http://www.onvif.org/ver10/schema AACDecOptions,omitempty"` // If the device is able to decode G711 encoded audio this section describes the supported configurations G711DecOptions G711DecOptions `xml:"http://www.onvif.org/ver10/schema G711DecOptions,omitempty"` // If the device is able to decode G726 encoded audio this section describes the supported configurations G726DecOptions G726DecOptions `xml:"http://www.onvif.org/ver10/schema G726DecOptions,omitempty"` Extension AudioDecoderConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
AudioDecoderConfigurationOptions type
type AudioDecoderConfigurationOptionsExtension ¶
type AudioDecoderConfigurationOptionsExtension struct { }
AudioDecoderConfigurationOptionsExtension type
type AudioEncoderConfiguration ¶
type AudioEncoderConfiguration struct { *ConfigurationEntity // Audio codec used for encoding the audio input (either G.711, G.726 or AAC) Encoding AudioEncoding `xml:"http://www.onvif.org/ver10/schema Encoding,omitempty"` // The output bitrate in kbps. Bitrate int32 `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"` // The output sample rate in kHz. SampleRate int32 `xml:"http://www.onvif.org/ver10/schema SampleRate,omitempty"` // Defines the multicast settings that could be used for video streaming. Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast,omitempty"` // The rtsp session timeout for the related audio stream SessionTimeout Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout,omitempty"` }
AudioEncoderConfiguration type
type AudioEncoding ¶
type AudioEncoding string
AudioEncoding type
const ( // AudioEncodingG711 const AudioEncodingG711 AudioEncoding = "G711" // AudioEncodingG726 const AudioEncodingG726 AudioEncoding = "G726" // AudioEncodingAAC const AudioEncodingAAC AudioEncoding = "AAC" )
type AudioEncodingMimeNames ¶
type AudioEncodingMimeNames string
AudioEncodingMimeNames type
const ( // AudioEncodingMimeNamesPCMU const AudioEncodingMimeNamesPCMU AudioEncodingMimeNames = "PCMU" // AudioEncodingMimeNamesG726 const AudioEncodingMimeNamesG726 AudioEncodingMimeNames = "G726" // AudioEncodingMimeNamesMP4ALATM const AudioEncodingMimeNamesMP4ALATM AudioEncodingMimeNames = "MP4A-LATM" // AudioEncodingMimeNamesMpeg4generic const AudioEncodingMimeNamesMpeg4generic AudioEncodingMimeNames = "mpeg4-generic" )
type AudioOutputConfiguration ¶
type AudioOutputConfiguration struct { *ConfigurationEntity // Token of the phsycial Audio output. OutputToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl OutputToken,omitempty"` // // An audio channel MAY support different types of audio transmission. While for full duplex // operation no special handling is required, in half duplex operation the transmission direction // needs to be switched. // The optional SendPrimacy parameter inside the AudioOutputConfiguration indicates which // direction is currently active. An NVC can switch between different modes by setting the // AudioOutputConfiguration. // The following modes for the Send-Primacy are defined: // Acoustic echo cancellation is out of ONVIF scope. SendPrimacy AnyURI `xml:"http://www.onvif.org/ver10/schema SendPrimacy,omitempty"` // Volume setting of the output. The applicable range is defined via the option AudioOutputOptions.OutputLevelRange. OutputLevel int32 `xml:"http://www.onvif.org/ver10/schema OutputLevel,omitempty"` }
AudioOutputConfiguration type
type AudioSource ¶
type AudioSource struct { *DeviceEntity // number of available audio channels. (1: mono, 2: stereo) Channels int32 `xml:"http://www.onvif.org/ver10/schema Channels,omitempty"` }
AudioSource type
type AudioSourceConfiguration ¶
type AudioSourceConfiguration struct { *ConfigurationEntity // Token of the Audio Source the configuration applies to SourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl SourceToken,omitempty"` }
AudioSourceConfiguration type
type AutoFocusMode ¶
type AutoFocusMode string
AutoFocusMode type
const ( // AutoFocusModeAUTO const AutoFocusModeAUTO AutoFocusMode = "AUTO" // AutoFocusModeMANUAL const AutoFocusModeMANUAL AutoFocusMode = "MANUAL" )
type BacklightCompensation ¶
type BacklightCompensation struct { // Backlight compensation mode (on/off). Mode BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Optional level parameter (unit unspecified). Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
BacklightCompensation type
type BacklightCompensation20 ¶
type BacklightCompensation20 struct { // Backlight compensation mode (on/off). Mode BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Optional level parameter (unit unspecified). Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
BacklightCompensation20 type
type BacklightCompensationMode ¶
type BacklightCompensationMode string
BacklightCompensationMode type
const ( // Backlight compensation is disabled. // BacklightCompensationModeOFF const BacklightCompensationModeOFF BacklightCompensationMode = "OFF" // Backlight compensation is enabled. // BacklightCompensationModeON const BacklightCompensationModeON BacklightCompensationMode = "ON" )
type BacklightCompensationOptions ¶
type BacklightCompensationOptions struct { Mode []WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Level FloatRange `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
BacklightCompensationOptions type
type BacklightCompensationOptions20 ¶
type BacklightCompensationOptions20 struct { // // 'ON' or 'OFF' // Mode []BacklightCompensationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // Level range of BacklightCompensation. // Level FloatRange `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
BacklightCompensationOptions20 type
type BaseFaultType ¶
type BaseFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsrf/bf-2 BaseFault"` Timestamp string `xml:"http://www.onvif.org/ver10/schema Timestamp,omitempty"` Originator EndpointReferenceType `xml:"Originator,omitempty"` ErrorCode struct { Dialect AnyURI `xml:"dialect,attr,omitempty"` } `xml:"ErrorCode,omitempty"` Description []struct { Value string // contains filtered or unexported fields } `xml:"Description,omitempty"` FaultCause struct { } `xml:"FaultCause,omitempty"` }
BaseFaultType type
type BinaryData ¶
type BinaryData struct { // base64 encoded binary data. Data []byte `xml:"http://www.onvif.org/ver10/schema Data,omitempty"` ContentType string `xml:"contentType,attr,omitempty"` }
BinaryData type
type Capabilities ¶
type Capabilities struct { ImageStabilization bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ImageStabilization,attr,omitempty"` Presets bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Presets,attr,omitempty"` AdaptablePreset bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AdaptablePreset,attr,omitempty"` }
Capabilities type
type CapabilitiesExtension ¶
type CapabilitiesExtension struct { DeviceIO DeviceIOCapabilities `xml:"http://www.onvif.org/ver10/schema DeviceIO,omitempty"` Display DisplayCapabilities `xml:"http://www.onvif.org/ver10/schema Display,omitempty"` Recording RecordingCapabilities `xml:"http://www.onvif.org/ver10/schema Recording,omitempty"` Search SearchCapabilities `xml:"http://www.onvif.org/ver10/schema Search,omitempty"` Replay ReplayCapabilities `xml:"http://www.onvif.org/ver10/schema Replay,omitempty"` Receiver ReceiverCapabilities `xml:"http://www.onvif.org/ver10/schema Receiver,omitempty"` AnalyticsDevice AnalyticsDeviceCapabilities `xml:"http://www.onvif.org/ver10/schema AnalyticsDevice,omitempty"` Extensions CapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extensions,omitempty"` }
CapabilitiesExtension type
type CapabilityCategory ¶
type CapabilityCategory string
CapabilityCategory type
const ( // CapabilityCategoryAll const CapabilityCategoryAll CapabilityCategory = "All" // CapabilityCategoryAnalytics const CapabilityCategoryAnalytics CapabilityCategory = "Analytics" // CapabilityCategoryDevice const CapabilityCategoryDevice CapabilityCategory = "Device" // CapabilityCategoryEvents const CapabilityCategoryEvents CapabilityCategory = "Events" // CapabilityCategoryImaging const CapabilityCategoryImaging CapabilityCategory = "Imaging" // CapabilityCategoryMedia const CapabilityCategoryMedia CapabilityCategory = "Media" // CapabilityCategoryPTZ const CapabilityCategoryPTZ CapabilityCategory = "PTZ" )
type Certificate ¶
type Certificate struct { // Certificate id. CertificateID string `xml:"http://www.onvif.org/ver20/imaging/wsdl CertificateID,omitempty"` // base64 encoded DER representation of certificate. Certificate BinaryData `xml:"http://www.onvif.org/ver10/schema Certificate,omitempty"` }
Certificate type
type CertificateGenerationParameters ¶
type CertificateGenerationParameters struct { CertificateID string `xml:"http://www.onvif.org/ver20/imaging/wsdl CertificateID,omitempty"` Subject string `xml:"http://www.onvif.org/ver20/imaging/wsdl Subject,omitempty"` ValidNotBefore string `xml:"http://www.onvif.org/ver20/imaging/wsdl ValidNotBefore,omitempty"` ValidNotAfter string `xml:"http://www.onvif.org/ver20/imaging/wsdl ValidNotAfter,omitempty"` Extension CertificateGenerationParametersExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
CertificateGenerationParameters type
type CertificateGenerationParametersExtension ¶
type CertificateGenerationParametersExtension struct { }
CertificateGenerationParametersExtension type
type CertificateInformation ¶
type CertificateInformation struct { CertificateID string `xml:"http://www.onvif.org/ver20/imaging/wsdl CertificateID,omitempty"` IssuerDN string `xml:"http://www.onvif.org/ver20/imaging/wsdl IssuerDN,omitempty"` SubjectDN string `xml:"http://www.onvif.org/ver20/imaging/wsdl SubjectDN,omitempty"` KeyUsage CertificateUsage `xml:"http://www.onvif.org/ver10/schema KeyUsage,omitempty"` ExtendedKeyUsage CertificateUsage `xml:"http://www.onvif.org/ver10/schema ExtendedKeyUsage,omitempty"` KeyLength int32 `xml:"http://www.onvif.org/ver10/schema KeyLength,omitempty"` Version string `xml:"http://www.onvif.org/ver20/imaging/wsdl Version,omitempty"` SerialNum string `xml:"http://www.onvif.org/ver20/imaging/wsdl SerialNum,omitempty"` // Validity Range is from "NotBefore" to "NotAfter"; the corresponding DateTimeRange is from "From" to "Until" SignatureAlgorithm string `xml:"http://www.onvif.org/ver20/imaging/wsdl SignatureAlgorithm,omitempty"` Validity DateTimeRange `xml:"http://www.onvif.org/ver10/schema Validity,omitempty"` Extension CertificateInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
CertificateInformation type
type CertificateInformationExtension ¶
type CertificateInformationExtension struct { }
CertificateInformationExtension type
type CertificateUsage ¶
type CertificateUsage struct { Value string Critical bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Critical,attr,omitempty"` }
CertificateUsage type
type Color ¶
type Color struct { X float32 `xml:"http://www.onvif.org/ver10/schema X,attr,omitempty"` Y float32 `xml:"http://www.onvif.org/ver10/schema Y,attr,omitempty"` Z float32 `xml:"http://www.onvif.org/ver10/schema Z,attr,omitempty"` Colorspace AnyURI `xml:"http://www.onvif.org/ver10/schema Colorspace,attr,omitempty"` }
Color type
type ColorOptions ¶
type ColorOptions struct { // List the supported color. ColorList []Color `xml:"http://www.onvif.org/ver10/schema ColorList,omitempty"` // Define the range of color supported. ColorspaceRange []ColorspaceRange `xml:"http://www.onvif.org/ver10/schema ColorspaceRange,omitempty"` }
ColorOptions type
type ColorspaceRange ¶
type ColorspaceRange struct { X FloatRange `xml:"http://www.onvif.org/ver10/schema X,omitempty"` Y FloatRange `xml:"http://www.onvif.org/ver10/schema Y,omitempty"` Z FloatRange `xml:"http://www.onvif.org/ver10/schema Z,omitempty"` // // Acceptable values are the same as in tt:Color. // Colorspace AnyURI `xml:"http://www.onvif.org/ver10/schema Colorspace,omitempty"` }
ColorspaceRange type
type Config ¶
type Config struct { // List of configuration parameters as defined in the correspding description. Parameters ItemList `xml:"http://www.onvif.org/ver10/schema Parameters,omitempty"` Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,attr,omitempty"` Type QName `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"` }
Config type
type ConfigDescription ¶
type ConfigDescription struct { // // List describing the configuration parameters. The names of the parameters must be unique. If possible SimpleItems // should be used to transport the information to ease parsing of dynamically defined messages by a client // application. // Parameters ItemListDescription `xml:"http://www.onvif.org/ver10/schema Parameters,omitempty"` Messages []struct { *MessageDescription // // The ParentTopic labels the message (e.g. "nn:RuleEngine/LineCrossing"). The real message can extend the ParentTopic // by for example the name of the instaniated rule (e.g. "nn:RuleEngine/LineCrossing/corssMyFirstLine"). // Even without knowing the complete topic name, the subscriber will be able to distiguish the // messages produced by different rule instances of the same type via the Source fields of the message. // There the name of the rule instance, which produced the message, must be listed. // ParentTopic string `xml:"http://www.onvif.org/ver20/imaging/wsdl ParentTopic,omitempty"` } `xml:"Messages,omitempty"` Extension ConfigDescriptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` Name QName `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty"` Fixed bool `xml:"fixed,attr,omitempty"` MaxInstances int32 `xml:"maxInstances,attr,omitempty"` }
ConfigDescription type
type ConfigDescriptionExtension ¶
type ConfigDescriptionExtension struct { }
ConfigDescriptionExtension type
type ConfigurationEntity ¶
type ConfigurationEntity struct { // User readable name. Length up to 64 characters. Name Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` // Number of internal references currently using this configuration. UseCount int32 `xml:"http://www.onvif.org/ver10/schema UseCount,omitempty"` Token ReferenceToken `xml:"token,attr,omitempty"` }
ConfigurationEntity type
type ContinuousFocus ¶
type ContinuousFocus struct { // // Speed parameter for the Continuous focus control. // Speed float32 `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
ContinuousFocus type
type ContinuousFocusOptions ¶
type ContinuousFocusOptions struct { // // Valid ranges of the speed. // Speed FloatRange `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
ContinuousFocusOptions type
type DNSInformation ¶
type DNSInformation struct { // Indicates whether or not DNS information is retrieved from DHCP. FromDHCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl FromDHCP,omitempty"` // Search domain. SearchDomain []string `xml:"http://www.onvif.org/ver20/imaging/wsdl SearchDomain,omitempty"` // List of DNS addresses received from DHCP. DNSFromDHCP []IPAddress `xml:"http://www.onvif.org/ver10/schema DNSFromDHCP,omitempty"` // List of manually entered DNS addresses. DNSManual []IPAddress `xml:"http://www.onvif.org/ver10/schema DNSManual,omitempty"` Extension DNSInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
DNSInformation type
type Date ¶
type Date struct { Year int32 `xml:"http://www.onvif.org/ver10/schema Year,omitempty"` // Range is 1 to 12. Month int32 `xml:"http://www.onvif.org/ver10/schema Month,omitempty"` // Range is 1 to 31. Day int32 `xml:"http://www.onvif.org/ver10/schema Day,omitempty"` }
Date type
type DateTime ¶
type DateTime struct { Time string `xml:"http://www.onvif.org/ver10/schema Time,omitempty"` Date string `xml:"http://www.onvif.org/ver10/schema Date,omitempty"` }
DateTime type
type DateTimeRange ¶
type DateTimeRange struct { From string `xml:"http://www.onvif.org/ver10/schema From,omitempty"` Until string `xml:"http://www.onvif.org/ver10/schema Until,omitempty"` }
DateTimeRange type
type Defogging ¶
type Defogging struct { // Parameter to enable/disable or automatic Defogging feature. Its options shall be chosen from tt:DefoggingMode Type. Mode string `xml:"http://www.onvif.org/ver20/imaging/wsdl Mode,omitempty"` // Optional level parameter specified with unitless normalized value from 0.0 to +1.0. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` Extension DefoggingExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Defogging type
type DefoggingMode ¶
type DefoggingMode string
DefoggingMode type
const ( // DefoggingModeOFF const DefoggingModeOFF DefoggingMode = "OFF" // DefoggingModeON const DefoggingModeON DefoggingMode = "ON" // DefoggingModeAUTO const DefoggingModeAUTO DefoggingMode = "AUTO" )
type DefoggingOptions ¶
type DefoggingOptions struct { // Supported options for Defogging mode. Its options shall be chosen from tt:DefoggingMode Type. Mode []string `xml:"http://www.onvif.org/ver20/imaging/wsdl Mode,omitempty"` // Indicates whether or not support Level parameter for Defogging. Level bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Level,omitempty"` }
DefoggingOptions type
type DeviceCapabilities ¶
type DeviceCapabilities struct { // Device service URI. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Network capabilities. Network NetworkCapabilities `xml:"http://www.onvif.org/ver10/schema Network,omitempty"` // System capabilities. System SystemCapabilities `xml:"http://www.onvif.org/ver10/schema System,omitempty"` // I/O capabilities. IO IOCapabilities `xml:"http://www.onvif.org/ver10/schema IO,omitempty"` // Security capabilities. Security SecurityCapabilities `xml:"http://www.onvif.org/ver10/schema Security,omitempty"` Extension DeviceCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
DeviceCapabilities type
type DeviceCapabilitiesExtension ¶
type DeviceCapabilitiesExtension struct { }
DeviceCapabilitiesExtension type
type DeviceEntity ¶
type DeviceEntity struct {
Token ReferenceToken `xml:"token,attr,omitempty"`
}
DeviceEntity type
type DeviceIOCapabilities ¶
type DeviceIOCapabilities struct { XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` VideoSources int32 `xml:"http://www.onvif.org/ver10/schema VideoSources,omitempty"` VideoOutputs int32 `xml:"http://www.onvif.org/ver10/schema VideoOutputs,omitempty"` AudioSources int32 `xml:"http://www.onvif.org/ver10/schema AudioSources,omitempty"` AudioOutputs int32 `xml:"http://www.onvif.org/ver10/schema AudioOutputs,omitempty"` RelayOutputs int32 `xml:"http://www.onvif.org/ver10/schema RelayOutputs,omitempty"` }
DeviceIOCapabilities type
type DigitalIdleState ¶
type DigitalIdleState string
DigitalIdleState type
const ( // DigitalIdleStateClosed const DigitalIdleStateClosed DigitalIdleState = "closed" // DigitalIdleStateOpen const DigitalIdleStateOpen DigitalIdleState = "open" )
type DiscoveryMode ¶
type DiscoveryMode string
DiscoveryMode type
const ( // DiscoveryModeDiscoverable const DiscoveryModeDiscoverable DiscoveryMode = "Discoverable" // DiscoveryModeNonDiscoverable const DiscoveryModeNonDiscoverable DiscoveryMode = "NonDiscoverable" )
type DisplayCapabilities ¶
type DisplayCapabilities struct { XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Indication that the SetLayout command supports only predefined layouts. FixedLayout bool `xml:"http://www.onvif.org/ver20/imaging/wsdl FixedLayout,omitempty"` }
DisplayCapabilities type
type Dot11AuthAndMangementSuite ¶
type Dot11AuthAndMangementSuite string
Dot11AuthAndMangementSuite type
const ( // Dot11AuthAndMangementSuiteNone const Dot11AuthAndMangementSuiteNone Dot11AuthAndMangementSuite = "None" // Dot11AuthAndMangementSuiteDot1X const Dot11AuthAndMangementSuiteDot1X Dot11AuthAndMangementSuite = "Dot1X" // Dot11AuthAndMangementSuitePSK const Dot11AuthAndMangementSuitePSK Dot11AuthAndMangementSuite = "PSK" // Dot11AuthAndMangementSuiteExtended const Dot11AuthAndMangementSuiteExtended Dot11AuthAndMangementSuite = "Extended" )
type Dot11AvailableNetworks ¶
type Dot11AvailableNetworks struct { SSID Dot11SSIDType `xml:"http://www.onvif.org/ver10/schema SSID,omitempty"` BSSID string `xml:"http://www.onvif.org/ver20/imaging/wsdl BSSID,omitempty"` // See IEEE802.11 7.3.2.25.2 for details. AuthAndMangementSuite []Dot11AuthAndMangementSuite `xml:"http://www.onvif.org/ver10/schema AuthAndMangementSuite,omitempty"` PairCipher []Dot11Cipher `xml:"http://www.onvif.org/ver10/schema PairCipher,omitempty"` GroupCipher []Dot11Cipher `xml:"http://www.onvif.org/ver10/schema GroupCipher,omitempty"` SignalStrength Dot11SignalStrength `xml:"http://www.onvif.org/ver10/schema SignalStrength,omitempty"` Extension Dot11AvailableNetworksExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Dot11AvailableNetworks type
type Dot11AvailableNetworksExtension ¶
type Dot11AvailableNetworksExtension struct { }
Dot11AvailableNetworksExtension type
type Dot11Cipher ¶
type Dot11Cipher string
Dot11Cipher type
const ( // Dot11CipherCCMP const Dot11CipherCCMP Dot11Cipher = "CCMP" // Dot11CipherTKIP const Dot11CipherTKIP Dot11Cipher = "TKIP" // Dot11CipherAny const Dot11CipherAny Dot11Cipher = "Any" // Dot11CipherExtended const Dot11CipherExtended Dot11Cipher = "Extended" )
type Dot11Configuration ¶
type Dot11Configuration struct { SSID Dot11SSIDType `xml:"http://www.onvif.org/ver10/schema SSID,omitempty"` Mode Dot11StationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Alias Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Alias,omitempty"` Priority NetworkInterfaceConfigPriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"` Security Dot11SecurityConfiguration `xml:"http://www.onvif.org/ver10/schema Security,omitempty"` }
Dot11Configuration type
type Dot11PSKSet ¶
type Dot11PSKSet struct { // // According to IEEE802.11-2007 H.4.1 the RSNA PSK consists of 256 bits, or 64 octets when represented in hex // Either Key or Passphrase shall be given, if both are supplied Key shall be used by the device and Passphrase ignored. // Key Dot11PSK `xml:"http://www.onvif.org/ver10/schema Key,omitempty"` // // According to IEEE802.11-2007 H.4.1 a pass-phrase is a sequence of between 8 and 63 ASCII-encoded characters and // each character in the pass-phrase must have an encoding in the range of 32 to 126 (decimal),inclusive. // If only Passpharse is supplied the Key shall be derived using the algorithm described in IEEE802.11-2007 section H.4 // Passphrase Dot11PSKPassphrase `xml:"http://www.onvif.org/ver10/schema Passphrase,omitempty"` Extension Dot11PSKSetExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Dot11PSKSet type
type Dot11SecurityConfiguration ¶
type Dot11SecurityConfiguration struct { Mode Dot11SecurityMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Algorithm Dot11Cipher `xml:"http://www.onvif.org/ver10/schema Algorithm,omitempty"` PSK Dot11PSKSet `xml:"http://www.onvif.org/ver10/schema PSK,omitempty"` Dot1X ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl Dot1X,omitempty"` Extension Dot11SecurityConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Dot11SecurityConfiguration type
type Dot11SecurityConfigurationExtension ¶
type Dot11SecurityConfigurationExtension struct { }
Dot11SecurityConfigurationExtension type
type Dot11SecurityMode ¶
type Dot11SecurityMode string
Dot11SecurityMode type
const ( // Dot11SecurityModeNone const Dot11SecurityModeNone Dot11SecurityMode = "None" // Dot11SecurityModeWEP const Dot11SecurityModeWEP Dot11SecurityMode = "WEP" // Dot11SecurityModePSK const Dot11SecurityModePSK Dot11SecurityMode = "PSK" // Dot11SecurityModeDot1X const Dot11SecurityModeDot1X Dot11SecurityMode = "Dot1X" // Dot11SecurityModeExtended const Dot11SecurityModeExtended Dot11SecurityMode = "Extended" )
type Dot11SignalStrength ¶
type Dot11SignalStrength string
Dot11SignalStrength type
const ( // Dot11SignalStrengthNone const Dot11SignalStrengthNone Dot11SignalStrength = "None" // Dot11SignalStrengthVeryBad const Dot11SignalStrengthVeryBad Dot11SignalStrength = "Very Bad" // Dot11SignalStrengthBad const Dot11SignalStrengthBad Dot11SignalStrength = "Bad" // Dot11SignalStrengthGood const Dot11SignalStrengthGood Dot11SignalStrength = "Good" // Dot11SignalStrengthVeryGood const Dot11SignalStrengthVeryGood Dot11SignalStrength = "Very Good" // Dot11SignalStrengthExtended const Dot11SignalStrengthExtended Dot11SignalStrength = "Extended" )
type Dot11StationMode ¶
type Dot11StationMode string
Dot11StationMode type
const ( // Dot11StationModeAdhoc const Dot11StationModeAdhoc Dot11StationMode = "Ad-hoc" // Dot11StationModeInfrastructure const Dot11StationModeInfrastructure Dot11StationMode = "Infrastructure" // Dot11StationModeExtended const Dot11StationModeExtended Dot11StationMode = "Extended" )
type Dot1XConfiguration ¶
type Dot1XConfiguration struct { Dot1XConfigurationToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl Dot1XConfigurationToken,omitempty"` Identity string `xml:"http://www.onvif.org/ver20/imaging/wsdl Identity,omitempty"` AnonymousID string `xml:"http://www.onvif.org/ver20/imaging/wsdl AnonymousID,omitempty"` // // EAP Method type as defined in . // EAPMethod int32 `xml:"http://www.onvif.org/ver10/schema EAPMethod,omitempty"` CACertificateID []string `xml:"http://www.onvif.org/ver20/imaging/wsdl CACertificateID,omitempty"` EAPMethodConfiguration EAPMethodConfiguration `xml:"http://www.onvif.org/ver10/schema EAPMethodConfiguration,omitempty"` Extension Dot1XConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Dot1XConfiguration type
type Dot1XConfigurationExtension ¶
type Dot1XConfigurationExtension struct { }
Dot1XConfigurationExtension type
type DurationRange ¶
type DurationRange struct { Min Duration `xml:"http://www.onvif.org/ver10/schema Min,omitempty"` Max Duration `xml:"http://www.onvif.org/ver10/schema Max,omitempty"` }
DurationRange type
type DynamicDNSInformation ¶
type DynamicDNSInformation struct { // Dynamic DNS type. Type DynamicDNSType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` // DNS name. Name DNSName `xml:"http://www.onvif.org/ver10/schema Name,omitempty"` // Time to live. TTL Duration `xml:"http://www.onvif.org/ver10/schema TTL,omitempty"` Extension DynamicDNSInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
DynamicDNSInformation type
type DynamicDNSInformationExtension ¶
type DynamicDNSInformationExtension struct { }
DynamicDNSInformationExtension type
type DynamicDNSType ¶
type DynamicDNSType string
DynamicDNSType type
const ( // DynamicDNSTypeNoUpdate const DynamicDNSTypeNoUpdate DynamicDNSType = "NoUpdate" // DynamicDNSTypeClientUpdates const DynamicDNSTypeClientUpdates DynamicDNSType = "ClientUpdates" // DynamicDNSTypeServerUpdates const DynamicDNSTypeServerUpdates DynamicDNSType = "ServerUpdates" )
type EAPMethodConfiguration ¶
type EAPMethodConfiguration struct { // Confgiuration information for TLS Method. TLSConfiguration TLSConfiguration `xml:"http://www.onvif.org/ver10/schema TLSConfiguration,omitempty"` // Password for those EAP Methods that require a password. The password shall never be returned on a get method. Password string `xml:"http://www.onvif.org/ver20/imaging/wsdl Password,omitempty"` Extension EapMethodExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
EAPMethodConfiguration type
type EFlip ¶
type EFlip struct { // Parameter to enable/disable E-Flip feature. Mode EFlipMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` }
EFlip type
type EFlipOptions ¶
type EFlipOptions struct { // Options of EFlip mode parameter. Mode []EFlipMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Extension EFlipOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
EFlipOptions type
type EndpointReferenceType ¶
type EndpointReferenceType struct { XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing EndpointReference"` Address AttributedURIType `xml:"Address,omitempty"` ReferenceParameters ReferenceParametersType `xml:"ReferenceParameters,omitempty"` Metadata Metadata `xml:"Metadata,omitempty"` }
EndpointReferenceType type
type EngineConfiguration ¶
type EngineConfiguration struct { VideoAnalyticsConfiguration VideoAnalyticsConfiguration `xml:"http://www.onvif.org/ver10/schema VideoAnalyticsConfiguration,omitempty"` AnalyticsEngineInputInfo AnalyticsEngineInputInfo `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineInputInfo,omitempty"` }
EngineConfiguration type
type EventCapabilities ¶
type EventCapabilities struct { // Event service URI. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Indicates whether or not WS Subscription policy is supported. WSSubscriptionPolicySupport bool `xml:"http://www.onvif.org/ver20/imaging/wsdl WSSubscriptionPolicySupport,omitempty"` // Indicates whether or not WS Pull Point is supported. WSPullPointSupport bool `xml:"http://www.onvif.org/ver20/imaging/wsdl WSPullPointSupport,omitempty"` // Indicates whether or not WS Pausable Subscription Manager Interface is supported. WSPausableSubscriptionManagerInterfaceSupport bool `xml:"http://www.onvif.org/ver20/imaging/wsdl WSPausableSubscriptionManagerInterfaceSupport,omitempty"` }
EventCapabilities type
type EventSubscription ¶
type EventSubscription struct { Filter FilterType `xml:"Filter,omitempty"` SubscriptionPolicy struct { } `xml:"SubscriptionPolicy,omitempty"` }
EventSubscription type
type Exposure ¶
type Exposure struct { // // Exposure Mode // // Mode ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // The exposure priority mode (low noise/framerate). // Priority ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"` // // Rectangular exposure mask. // Window Rectangle `xml:"http://www.onvif.org/ver10/schema Window,omitempty"` // // Minimum value of exposure time range allowed to be used by the algorithm. // MinExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MinExposureTime,omitempty"` // // Maximum value of exposure time range allowed to be used by the algorithm. // MaxExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MaxExposureTime,omitempty"` // // Minimum value of the sensor gain range that is allowed to be used by the algorithm. // MinGain float32 `xml:"http://www.onvif.org/ver10/schema MinGain,omitempty"` // // Maximum value of the sensor gain range that is allowed to be used by the algorithm. // MaxGain float32 `xml:"http://www.onvif.org/ver10/schema MaxGain,omitempty"` // // Minimum value of the iris range allowed to be used by the algorithm. // MinIris float32 `xml:"http://www.onvif.org/ver10/schema MinIris,omitempty"` // // Maximum value of the iris range allowed to be used by the algorithm. // MaxIris float32 `xml:"http://www.onvif.org/ver10/schema MaxIris,omitempty"` // // The fixed exposure time used by the image sensor (μs). // ExposureTime float32 `xml:"http://www.onvif.org/ver10/schema ExposureTime,omitempty"` // // The fixed gain used by the image sensor (dB). // Gain float32 `xml:"http://www.onvif.org/ver10/schema Gain,omitempty"` // // The fixed attenuation of input light affected by the iris (dB). 0dB maps to a fully opened iris. // Iris float32 `xml:"http://www.onvif.org/ver10/schema Iris,omitempty"` }
Exposure type
type Exposure20 ¶
type Exposure20 struct { // // Exposure Mode // // Mode ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // The exposure priority mode (low noise/framerate). // Priority ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"` // // Rectangular exposure mask. // Window Rectangle `xml:"http://www.onvif.org/ver10/schema Window,omitempty"` // // Minimum value of exposure time range allowed to be used by the algorithm. // MinExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MinExposureTime,omitempty"` // // Maximum value of exposure time range allowed to be used by the algorithm. // MaxExposureTime float32 `xml:"http://www.onvif.org/ver10/schema MaxExposureTime,omitempty"` // // Minimum value of the sensor gain range that is allowed to be used by the algorithm. // MinGain float32 `xml:"http://www.onvif.org/ver10/schema MinGain,omitempty"` // // Maximum value of the sensor gain range that is allowed to be used by the algorithm. // MaxGain float32 `xml:"http://www.onvif.org/ver10/schema MaxGain,omitempty"` // // Minimum value of the iris range allowed to be used by the algorithm. 0dB maps to a fully opened iris and positive values map to higher attenuation. // MinIris float32 `xml:"http://www.onvif.org/ver10/schema MinIris,omitempty"` // // Maximum value of the iris range allowed to be used by the algorithm. 0dB maps to a fully opened iris and positive values map to higher attenuation. // MaxIris float32 `xml:"http://www.onvif.org/ver10/schema MaxIris,omitempty"` // // The fixed exposure time used by the image sensor (μs). // ExposureTime float32 `xml:"http://www.onvif.org/ver10/schema ExposureTime,omitempty"` // // The fixed gain used by the image sensor (dB). // Gain float32 `xml:"http://www.onvif.org/ver10/schema Gain,omitempty"` // // The fixed attenuation of input light affected by the iris (dB). 0dB maps to a fully opened iris and positive values map to higher attenuation. // Iris float32 `xml:"http://www.onvif.org/ver10/schema Iris,omitempty"` }
Exposure20 type
type ExposureMode ¶
type ExposureMode string
ExposureMode type
const ( // ExposureModeAUTO const ExposureModeAUTO ExposureMode = "AUTO" // ExposureModeMANUAL const ExposureModeMANUAL ExposureMode = "MANUAL" )
type ExposureOptions ¶
type ExposureOptions struct { Mode []ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Priority []ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"` MinExposureTime FloatRange `xml:"http://www.onvif.org/ver10/schema MinExposureTime,omitempty"` MaxExposureTime FloatRange `xml:"http://www.onvif.org/ver10/schema MaxExposureTime,omitempty"` MinGain FloatRange `xml:"http://www.onvif.org/ver10/schema MinGain,omitempty"` MaxGain FloatRange `xml:"http://www.onvif.org/ver10/schema MaxGain,omitempty"` MinIris FloatRange `xml:"http://www.onvif.org/ver10/schema MinIris,omitempty"` MaxIris FloatRange `xml:"http://www.onvif.org/ver10/schema MaxIris,omitempty"` ExposureTime FloatRange `xml:"http://www.onvif.org/ver10/schema ExposureTime,omitempty"` Gain FloatRange `xml:"http://www.onvif.org/ver10/schema Gain,omitempty"` Iris FloatRange `xml:"http://www.onvif.org/ver10/schema Iris,omitempty"` }
ExposureOptions type
type ExposureOptions20 ¶
type ExposureOptions20 struct { // // Exposure Mode // // Mode []ExposureMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // The exposure priority mode (low noise/framerate). // Priority []ExposurePriority `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"` // // Valid range of the Minimum ExposureTime. // MinExposureTime FloatRange `xml:"http://www.onvif.org/ver10/schema MinExposureTime,omitempty"` // // Valid range of the Maximum ExposureTime. // MaxExposureTime FloatRange `xml:"http://www.onvif.org/ver10/schema MaxExposureTime,omitempty"` // // Valid range of the Minimum Gain. // MinGain FloatRange `xml:"http://www.onvif.org/ver10/schema MinGain,omitempty"` // // Valid range of the Maximum Gain. // MaxGain FloatRange `xml:"http://www.onvif.org/ver10/schema MaxGain,omitempty"` // // Valid range of the Minimum Iris. // MinIris FloatRange `xml:"http://www.onvif.org/ver10/schema MinIris,omitempty"` // // Valid range of the Maximum Iris. // MaxIris FloatRange `xml:"http://www.onvif.org/ver10/schema MaxIris,omitempty"` // // Valid range of the ExposureTime. // ExposureTime FloatRange `xml:"http://www.onvif.org/ver10/schema ExposureTime,omitempty"` // // Valid range of the Gain. // Gain FloatRange `xml:"http://www.onvif.org/ver10/schema Gain,omitempty"` // // Valid range of the Iris. // Iris FloatRange `xml:"http://www.onvif.org/ver10/schema Iris,omitempty"` }
ExposureOptions20 type
type ExposurePriority ¶
type ExposurePriority string
ExposurePriority type
const ( // ExposurePriorityLowNoise const ExposurePriorityLowNoise ExposurePriority = "LowNoise" // ExposurePriorityFrameRate const ExposurePriorityFrameRate ExposurePriority = "FrameRate" )
type ExtensibleDocumented ¶
type ExtensibleDocumented struct {
Documentation Documentation `xml:"documentation,omitempty"`
}
ExtensibleDocumented type
type FactoryDefaultType ¶
type FactoryDefaultType string
FactoryDefaultType type
const ( // Indicates that a hard factory default is requested. // FactoryDefaultTypeHard const FactoryDefaultTypeHard FactoryDefaultType = "Hard" // Indicates that a soft factory default is requested. // FactoryDefaultTypeSoft const FactoryDefaultTypeSoft FactoryDefaultType = "Soft" )
type Fault ¶
type Fault struct { Code Faultcode `xml:"Code,omitempty"` Reason Faultreason `xml:"Reason,omitempty"` Node AnyURI `xml:"http://www.onvif.org/ver10/schema Node,omitempty"` Role AnyURI `xml:"http://www.onvif.org/ver10/schema Role,omitempty"` Detail Detail `xml:"Detail,omitempty"` }
Fault type
type FaultCodesType ¶
type FaultCodesType QName
FaultCodesType type
const ( // FaultCodesTypeTnsInvalidAddressingHeader const FaultCodesTypeTnsInvalidAddressingHeader FaultCodesType = "tns:InvalidAddressingHeader" // FaultCodesTypeTnsInvalidAddress const FaultCodesTypeTnsInvalidAddress FaultCodesType = "tns:InvalidAddress" // FaultCodesTypeTnsInvalidEPR const FaultCodesTypeTnsInvalidEPR FaultCodesType = "tns:InvalidEPR" // FaultCodesTypeTnsInvalidCardinality const FaultCodesTypeTnsInvalidCardinality FaultCodesType = "tns:InvalidCardinality" // FaultCodesTypeTnsMissingAddressInEPR const FaultCodesTypeTnsMissingAddressInEPR FaultCodesType = "tns:MissingAddressInEPR" // FaultCodesTypeTnsDuplicateMessageID const FaultCodesTypeTnsDuplicateMessageID FaultCodesType = "tns:DuplicateMessageID" // FaultCodesTypeTnsActionMismatch const FaultCodesTypeTnsActionMismatch FaultCodesType = "tns:ActionMismatch" // FaultCodesTypeTnsMessageAddressingHeaderRequired const FaultCodesTypeTnsMessageAddressingHeaderRequired FaultCodesType = "tns:MessageAddressingHeaderRequired" // FaultCodesTypeTnsDestinationUnreachable const FaultCodesTypeTnsDestinationUnreachable FaultCodesType = "tns:DestinationUnreachable" // FaultCodesTypeTnsActionNotSupported const FaultCodesTypeTnsActionNotSupported FaultCodesType = "tns:ActionNotSupported" FaultCodesTypeTnsEndpointUnavailable FaultCodesType = "tns:EndpointUnavailable" )
type Faultcode ¶
type Faultcode struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope faultcode"` Value FaultcodeEnum `xml:"Value,omitempty"` Subcode *Subcode `xml:"Subcode,omitempty"` }
Faultcode type
type FaultcodeEnum ¶
type FaultcodeEnum QName
FaultcodeEnum type
const ( // FaultcodeEnumTnsDataEncodingUnknown const FaultcodeEnumTnsDataEncodingUnknown FaultcodeEnum = "tns:DataEncodingUnknown" // FaultcodeEnumTnsMustUnderstand const FaultcodeEnumTnsMustUnderstand FaultcodeEnum = "tns:MustUnderstand" // FaultcodeEnumTnsReceiver const FaultcodeEnumTnsReceiver FaultcodeEnum = "tns:Receiver" // FaultcodeEnumTnsSender const FaultcodeEnumTnsSender FaultcodeEnum = "tns:Sender" // FaultcodeEnumTnsVersionMismatch const FaultcodeEnumTnsVersionMismatch FaultcodeEnum = "tns:VersionMismatch" )
type Faultreason ¶
type Faultreason struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope faultreason"` Text []Reasontext `xml:"Text,omitempty"` }
Faultreason type
type FileProgress ¶
type FileProgress struct { // Exported file name FileName string `xml:"http://www.onvif.org/ver20/imaging/wsdl FileName,omitempty"` // Normalized percentage completion for uploading the exported file Progress float32 `xml:"http://www.onvif.org/ver10/schema Progress,omitempty"` }
FileProgress type
type FilterType ¶
FilterType type
type FloatRange ¶
type FloatRange struct { Min float32 `xml:"http://www.onvif.org/ver10/schema Min,omitempty"` Max float32 `xml:"http://www.onvif.org/ver10/schema Max,omitempty"` }
FloatRange type
type FocusConfiguration ¶
type FocusConfiguration struct { AutoFocusMode AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusMode,omitempty"` DefaultSpeed float32 `xml:"http://www.onvif.org/ver10/schema DefaultSpeed,omitempty"` // Parameter to set autofocus near limit (unit: meter). NearLimit float32 `xml:"http://www.onvif.org/ver10/schema NearLimit,omitempty"` // Parameter to set autofocus far limit (unit: meter). // If set to 0.0, infinity will be used. FarLimit float32 `xml:"http://www.onvif.org/ver10/schema FarLimit,omitempty"` }
FocusConfiguration type
type FocusConfiguration20 ¶
type FocusConfiguration20 struct { // // Mode of auto focus. // // Note: for devices supporting both manual and auto operation at the same time manual operation may be supported even if the Mode parameter is set to Auto. // AutoFocusMode AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusMode,omitempty"` DefaultSpeed float32 `xml:"http://www.onvif.org/ver10/schema DefaultSpeed,omitempty"` // Parameter to set autofocus near limit (unit: meter). NearLimit float32 `xml:"http://www.onvif.org/ver10/schema NearLimit,omitempty"` // Parameter to set autofocus far limit (unit: meter). FarLimit float32 `xml:"http://www.onvif.org/ver10/schema FarLimit,omitempty"` Extension FocusConfiguration20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` AFMode StringAttrList `xml:"http://www.onvif.org/ver10/schema AFMode,attr,omitempty"` }
FocusConfiguration20 type
type FocusConfiguration20Extension ¶
type FocusConfiguration20Extension struct { }
FocusConfiguration20Extension type
type FocusMove ¶
type FocusMove struct { // // Parameters for the absolute focus control. // Absolute AbsoluteFocus `xml:"http://www.onvif.org/ver10/schema Absolute,omitempty"` // // Parameters for the relative focus control. // Relative RelativeFocus `xml:"http://www.onvif.org/ver10/schema Relative,omitempty"` // // Parameter for the continuous focus control. // Continuous ContinuousFocus `xml:"http://www.onvif.org/ver10/schema Continuous,omitempty"` }
FocusMove type
type FocusOptions ¶
type FocusOptions struct { AutoFocusModes []AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusModes,omitempty"` DefaultSpeed FloatRange `xml:"http://www.onvif.org/ver10/schema DefaultSpeed,omitempty"` NearLimit FloatRange `xml:"http://www.onvif.org/ver10/schema NearLimit,omitempty"` FarLimit FloatRange `xml:"http://www.onvif.org/ver10/schema FarLimit,omitempty"` }
FocusOptions type
type FocusOptions20 ¶
type FocusOptions20 struct { // // Supported modes for auto focus. // // AutoFocusModes []AutoFocusMode `xml:"http://www.onvif.org/ver10/schema AutoFocusModes,omitempty"` // // Valid range of DefaultSpeed. // DefaultSpeed FloatRange `xml:"http://www.onvif.org/ver10/schema DefaultSpeed,omitempty"` // // Valid range of NearLimit. // NearLimit FloatRange `xml:"http://www.onvif.org/ver10/schema NearLimit,omitempty"` // // Valid range of FarLimit. // FarLimit FloatRange `xml:"http://www.onvif.org/ver10/schema FarLimit,omitempty"` Extension FocusOptions20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
FocusOptions20 type
type FocusOptions20Extension ¶
type FocusOptions20Extension struct { // Supported options for auto focus. Options shall be chosen from tt:AFModes. AFModes StringAttrList `xml:"http://www.onvif.org/ver10/schema AFModes,omitempty"` }
FocusOptions20Extension type
type FocusStatus ¶
type FocusStatus struct { // // Status of focus position. // Position float32 `xml:"http://www.onvif.org/ver10/schema Position,omitempty"` // // Status of focus MoveStatus. // MoveStatus MoveStatus `xml:"http://www.onvif.org/ver10/schema MoveStatus,omitempty"` // // Error status of focus. // Error string `xml:"http://www.onvif.org/ver20/imaging/wsdl Error,omitempty"` }
FocusStatus type
type FocusStatus20 ¶
type FocusStatus20 struct { // // Status of focus position. // Position float32 `xml:"http://www.onvif.org/ver10/schema Position,omitempty"` // // Status of focus MoveStatus. // MoveStatus MoveStatus `xml:"http://www.onvif.org/ver10/schema MoveStatus,omitempty"` // // Error status of focus. // Error string `xml:"http://www.onvif.org/ver20/imaging/wsdl Error,omitempty"` Extension FocusStatus20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
FocusStatus20 type
type G711DecOptions ¶
type G711DecOptions struct { // List of supported bitrates in kbps Bitrate IntList `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"` // List of supported sample rates in kHz SampleRateRange IntList `xml:"http://www.onvif.org/ver10/schema SampleRateRange,omitempty"` }
G711DecOptions type
type G726DecOptions ¶
type G726DecOptions struct { // List of supported bitrates in kbps Bitrate IntList `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"` // List of supported sample rates in kHz SampleRateRange IntList `xml:"http://www.onvif.org/ver10/schema SampleRateRange,omitempty"` }
G726DecOptions type
type GetCurrentPreset ¶
type GetCurrentPreset struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetCurrentPreset"` // Reference token to the VideoSource where the current Imaging Preset should be requested. VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
GetCurrentPreset type
type GetCurrentPresetResponse ¶
type GetCurrentPresetResponse struct { XMLName xml.Name `xml:"GetCurrentPresetResponse"` // Current Imaging Preset in use for the specified Video Source. Preset ImagingPreset `xml:"Preset,omitempty"` }
GetCurrentPresetResponse type
type GetImagingSettings ¶
type GetImagingSettings struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetImagingSettings"` // // Reference token to the VideoSource for which the ImagingSettings. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
GetImagingSettings type
type GetImagingSettingsResponse ¶
type GetImagingSettingsResponse struct { XMLName xml.Name `xml:"GetImagingSettingsResponse"` // // ImagingSettings for the VideoSource that was requested. // ImagingSettings ImagingSettings20 `xml:"ImagingSettings,omitempty"` }
GetImagingSettingsResponse type
type GetMoveOptions ¶
type GetMoveOptions struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetMoveOptions"` // // Reference token to the VideoSource for the requested move options. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
GetMoveOptions type
type GetMoveOptionsResponse ¶
type GetMoveOptionsResponse struct { XMLName xml.Name `xml:"GetMoveOptionsResponse"` // // Valid ranges for the focus lens move options. // MoveOptions MoveOptions20 `xml:"MoveOptions,omitempty"` }
GetMoveOptionsResponse type
type GetOptions ¶
type GetOptions struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetOptions"` // // Reference token to the VideoSource for which the imaging parameter options are requested. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
GetOptions type
type GetOptionsResponse ¶
type GetOptionsResponse struct { XMLName xml.Name `xml:"GetOptionsResponse"` // // Valid ranges for the imaging parameters that are categorized as device specific. // ImagingOptions ImagingOptions20 `xml:"ImagingOptions,omitempty"` }
GetOptionsResponse type
type GetPresets ¶
type GetPresets struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetPresets"` // // A reference to the VideoSource where the operation should take place. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
GetPresets type
type GetPresetsResponse ¶
type GetPresetsResponse struct { XMLName xml.Name `xml:"GetPresetsResponse"` // // List of Imaging Presets which are available for the requested VideoSource. // Preset []ImagingPreset `xml:"Preset,omitempty"` }
GetPresetsResponse type
type GetServiceCapabilities ¶
type GetServiceCapabilities struct {
XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetServiceCapabilities"`
}
GetServiceCapabilities type
type GetServiceCapabilitiesResponse ¶
type GetServiceCapabilitiesResponse struct { XMLName xml.Name `xml:"GetServiceCapabilitiesResponse"` // The capabilities for the imaging service is returned in the Capabilities element. Capabilities Capabilities `xml:"Capabilities,omitempty"` }
GetServiceCapabilitiesResponse type
type GetStatus ¶
type GetStatus struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl GetStatus"` // // Reference token to the VideoSource where the imaging status should be requested. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
GetStatus type
type GetStatusResponse ¶
type GetStatusResponse struct { XMLName xml.Name `xml:"GetStatusResponse"` // // Requested imaging status. // Status ImagingStatus20 `xml:"Status,omitempty"` }
GetStatusResponse type
type H264Configuration ¶
type H264Configuration struct { // Group of Video frames length. Determines typically the interval in which the I-Frames will be coded. An entry of 1 indicates I-Frames are continuously generated. An entry of 2 indicates that every 2nd image is an I-Frame, and 3 only every 3rd frame, etc. The frames in between are coded as P or B Frames. GovLength int32 `xml:"http://www.onvif.org/ver10/schema GovLength,omitempty"` // the H.264 profile, either baseline, main, extended or high H264Profile H264Profile `xml:"http://www.onvif.org/ver10/schema H264Profile,omitempty"` }
H264Configuration type
type H264DecOptions ¶
type H264DecOptions struct { // List of supported H.264 Video Resolutions ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"` // List of supported H264 Profiles (either baseline, main, extended or high) SupportedH264Profiles []H264Profile `xml:"http://www.onvif.org/ver10/schema SupportedH264Profiles,omitempty"` // Supported H.264 bitrate range in kbps SupportedInputBitrate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedInputBitrate,omitempty"` // Supported H.264 framerate range in fps SupportedFrameRate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedFrameRate,omitempty"` }
H264DecOptions type
type H264Options ¶
type H264Options struct { // List of supported image sizes. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"` // Supported group of Video frames length. This value typically corresponds to the I-Frame distance. GovLengthRange IntRange `xml:"http://www.onvif.org/ver10/schema GovLengthRange,omitempty"` // Supported frame rate in fps (frames per second). FrameRateRange IntRange `xml:"http://www.onvif.org/ver10/schema FrameRateRange,omitempty"` // Supported encoding interval range. The encoding interval corresponds to the number of frames devided by the encoded frames. An encoding interval value of "1" means that all frames are encoded. EncodingIntervalRange IntRange `xml:"http://www.onvif.org/ver10/schema EncodingIntervalRange,omitempty"` // List of supported H.264 profiles. H264ProfilesSupported []H264Profile `xml:"http://www.onvif.org/ver10/schema H264ProfilesSupported,omitempty"` }
H264Options type
type H264Options2 ¶
type H264Options2 struct { *H264Options // Supported range of encoded bitrate in kbps. BitrateRange IntRange `xml:"http://www.onvif.org/ver10/schema BitrateRange,omitempty"` }
H264Options2 type
type H264Profile ¶
type H264Profile string
H264Profile type
const ( // H264ProfileBaseline const H264ProfileBaseline H264Profile = "Baseline" // H264ProfileMain const H264ProfileMain H264Profile = "Main" // H264ProfileExtended const H264ProfileExtended H264Profile = "Extended" // H264ProfileHigh const H264ProfileHigh H264Profile = "High" )
type HostnameInformation ¶
type HostnameInformation struct { // Indicates whether the hostname is obtained from DHCP or not. FromDHCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl FromDHCP,omitempty"` // Indicates the hostname. Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` Extension HostnameInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
HostnameInformation type
type HostnameInformationExtension ¶
type HostnameInformationExtension struct { }
HostnameInformationExtension type
type IOCapabilities ¶
type IOCapabilities struct { // Number of input connectors. InputConnectors int32 `xml:"http://www.onvif.org/ver10/schema InputConnectors,omitempty"` // Number of relay outputs. RelayOutputs int32 `xml:"http://www.onvif.org/ver10/schema RelayOutputs,omitempty"` Extension IOCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
IOCapabilities type
type IOCapabilitiesExtension ¶
type IOCapabilitiesExtension struct { Auxiliary bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Auxiliary,omitempty"` AuxiliaryCommands []AuxiliaryData `xml:"http://www.onvif.org/ver10/schema AuxiliaryCommands,omitempty"` Extension IOCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
IOCapabilitiesExtension type
type IOCapabilitiesExtension2 ¶
type IOCapabilitiesExtension2 struct { }
IOCapabilitiesExtension2 type
type IPAddress ¶
type IPAddress struct { // Indicates if the address is an IPv4 or IPv6 address. Type IPType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` // IPv4 address. IPv4Address IPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address,omitempty"` // IPv6 address IPv6Address IPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address,omitempty"` }
IPAddress type
type IPAddressFilter ¶
type IPAddressFilter struct { Type IPAddressFilterType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` 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"` }
IPAddressFilter type
type IPAddressFilterExtension ¶
type IPAddressFilterExtension struct { }
IPAddressFilterExtension type
type IPAddressFilterType ¶
type IPAddressFilterType string
IPAddressFilterType type
const ( // IPAddressFilterTypeAllow const IPAddressFilterTypeAllow IPAddressFilterType = "Allow" // IPAddressFilterTypeDeny const IPAddressFilterTypeDeny IPAddressFilterType = "Deny" )
type IPv4Configuration ¶
type IPv4Configuration struct { // List of manually added IPv4 addresses. Manual []PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"` // Link local address. LinkLocal PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema LinkLocal,omitempty"` // IPv4 address configured by using DHCP. FromDHCP PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema FromDHCP,omitempty"` // Indicates whether or not DHCP is used. DHCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DHCP,omitempty"` }
IPv4Configuration type
type IPv4NetworkInterface ¶
type IPv4NetworkInterface struct { // Indicates whether or not IPv4 is enabled. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // IPv4 configuration. Config IPv4Configuration `xml:"http://www.onvif.org/ver10/schema Config,omitempty"` }
IPv4NetworkInterface type
type IPv4NetworkInterfaceSetConfiguration ¶
type IPv4NetworkInterfaceSetConfiguration struct { // Indicates whether or not IPv4 is enabled. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // List of manually added IPv4 addresses. Manual []PrefixedIPv4Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"` // Indicates whether or not DHCP is used. DHCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DHCP,omitempty"` }
IPv4NetworkInterfaceSetConfiguration type
type IPv6Configuration ¶
type IPv6Configuration struct { // Indicates whether router advertisment is used. AcceptRouterAdvert bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AcceptRouterAdvert,omitempty"` // DHCP configuration. DHCP IPv6DHCPConfiguration `xml:"http://www.onvif.org/ver10/schema DHCP,omitempty"` // List of manually entered IPv6 addresses. Manual []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"` // List of link local IPv6 addresses. LinkLocal []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema LinkLocal,omitempty"` // List of IPv6 addresses configured by using DHCP. FromDHCP []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema FromDHCP,omitempty"` // List of IPv6 addresses configured by using router advertisment. FromRA []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema FromRA,omitempty"` Extension IPv6ConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
IPv6Configuration type
type IPv6ConfigurationExtension ¶
type IPv6ConfigurationExtension struct { }
IPv6ConfigurationExtension type
type IPv6DHCPConfiguration ¶
type IPv6DHCPConfiguration string
IPv6DHCPConfiguration type
const ( // IPv6DHCPConfigurationAuto const IPv6DHCPConfigurationAuto IPv6DHCPConfiguration = "Auto" // IPv6DHCPConfigurationStateful const IPv6DHCPConfigurationStateful IPv6DHCPConfiguration = "Stateful" // IPv6DHCPConfigurationStateless const IPv6DHCPConfigurationStateless IPv6DHCPConfiguration = "Stateless" // IPv6DHCPConfigurationOff const IPv6DHCPConfigurationOff IPv6DHCPConfiguration = "Off" )
type IPv6NetworkInterface ¶
type IPv6NetworkInterface struct { // Indicates whether or not IPv6 is enabled. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // IPv6 configuration. Config IPv6Configuration `xml:"http://www.onvif.org/ver10/schema Config,omitempty"` }
IPv6NetworkInterface type
type IPv6NetworkInterfaceSetConfiguration ¶
type IPv6NetworkInterfaceSetConfiguration struct { // Indicates whether or not IPv6 is enabled. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // Indicates whether router advertisment is used. AcceptRouterAdvert bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AcceptRouterAdvert,omitempty"` // List of manually added IPv6 addresses. Manual []PrefixedIPv6Address `xml:"http://www.onvif.org/ver10/schema Manual,omitempty"` // DHCP configuration. DHCP IPv6DHCPConfiguration `xml:"http://www.onvif.org/ver10/schema DHCP,omitempty"` }
IPv6NetworkInterfaceSetConfiguration type
type ImageStabilization ¶
type ImageStabilization struct { // Parameter to enable/disable Image Stabilization feature. Mode ImageStabilizationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Optional level parameter (unit unspecified) Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` Extension ImageStabilizationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImageStabilization type
type ImageStabilizationExtension ¶
type ImageStabilizationExtension struct { }
ImageStabilizationExtension type
type ImageStabilizationMode ¶
type ImageStabilizationMode string
ImageStabilizationMode type
const ( // ImageStabilizationModeOFF const ImageStabilizationModeOFF ImageStabilizationMode = "OFF" // ImageStabilizationModeON const ImageStabilizationModeON ImageStabilizationMode = "ON" // ImageStabilizationModeAUTO const ImageStabilizationModeAUTO ImageStabilizationMode = "AUTO" // ImageStabilizationModeExtended const ImageStabilizationModeExtended ImageStabilizationMode = "Extended" )
type ImageStabilizationOptions ¶
type ImageStabilizationOptions struct { // Supported options of Image Stabilization mode parameter. Mode []ImageStabilizationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Valid range of the Image Stabilization. Level FloatRange `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` Extension ImageStabilizationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImageStabilizationOptions type
type ImageStabilizationOptionsExtension ¶
type ImageStabilizationOptionsExtension struct { }
ImageStabilizationOptionsExtension type
type ImagingCapabilities ¶
type ImagingCapabilities struct { // Imaging service URI. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` }
ImagingCapabilities type
type ImagingOptions ¶
type ImagingOptions struct { BacklightCompensation BacklightCompensationOptions `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"` Brightness FloatRange `xml:"http://www.onvif.org/ver10/schema Brightness,omitempty"` ColorSaturation FloatRange `xml:"http://www.onvif.org/ver10/schema ColorSaturation,omitempty"` Contrast FloatRange `xml:"http://www.onvif.org/ver10/schema Contrast,omitempty"` Exposure ExposureOptions `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"` Focus FocusOptions `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"` IrCutFilterModes []IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilterModes,omitempty"` Sharpness FloatRange `xml:"http://www.onvif.org/ver10/schema Sharpness,omitempty"` WideDynamicRange WideDynamicRangeOptions `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"` WhiteBalance WhiteBalanceOptions `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"` }
ImagingOptions type
type ImagingOptions20 ¶
type ImagingOptions20 struct { // // Valid range of Backlight Compensation. // BacklightCompensation BacklightCompensationOptions20 `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"` // // Valid range of Brightness. // Brightness FloatRange `xml:"http://www.onvif.org/ver10/schema Brightness,omitempty"` // // Valid range of Color Saturation. // ColorSaturation FloatRange `xml:"http://www.onvif.org/ver10/schema ColorSaturation,omitempty"` // // Valid range of Contrast. // Contrast FloatRange `xml:"http://www.onvif.org/ver10/schema Contrast,omitempty"` // // Valid range of Exposure. // Exposure ExposureOptions20 `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"` // // Valid range of Focus. // Focus FocusOptions20 `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"` // // Valid range of IrCutFilterModes. // IrCutFilterModes []IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilterModes,omitempty"` // // Valid range of Sharpness. // Sharpness FloatRange `xml:"http://www.onvif.org/ver10/schema Sharpness,omitempty"` // // Valid range of WideDynamicRange. // WideDynamicRange WideDynamicRangeOptions20 `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"` // // Valid range of WhiteBalance. // WhiteBalance WhiteBalanceOptions20 `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"` Extension ImagingOptions20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingOptions20 type
type ImagingOptions20Extension ¶
type ImagingOptions20Extension struct { // Options of parameters for Image Stabilization feature. ImageStabilization ImageStabilizationOptions `xml:"http://www.onvif.org/ver10/schema ImageStabilization,omitempty"` Extension ImagingOptions20Extension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingOptions20Extension type
type ImagingOptions20Extension2 ¶
type ImagingOptions20Extension2 struct { // Options of parameters for adjustment of Ir cut filter auto mode. IrCutFilterAutoAdjustment IrCutFilterAutoAdjustmentOptions `xml:"http://www.onvif.org/ver10/schema IrCutFilterAutoAdjustment,omitempty"` Extension ImagingOptions20Extension3 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingOptions20Extension2 type
type ImagingOptions20Extension3 ¶
type ImagingOptions20Extension3 struct { // Options of parameters for Tone Compensation feature. ToneCompensationOptions ToneCompensationOptions `xml:"http://www.onvif.org/ver10/schema ToneCompensationOptions,omitempty"` // Options of parameters for Defogging feature. DefoggingOptions DefoggingOptions `xml:"http://www.onvif.org/ver10/schema DefoggingOptions,omitempty"` // Options of parameter for Noise Reduction feature. NoiseReductionOptions NoiseReductionOptions `xml:"http://www.onvif.org/ver10/schema NoiseReductionOptions,omitempty"` Extension ImagingOptions20Extension4 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingOptions20Extension3 type
type ImagingOptions20Extension4 ¶
type ImagingOptions20Extension4 struct { }
ImagingOptions20Extension4 type
type ImagingPort ¶
type ImagingPort interface { /* Returns the capabilities of the imaging service. The result is returned in a typed answer. */ GetServiceCapabilities(request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error) GetServiceCapabilitiesContext(ctx context.Context, request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error) /* Get the ImagingConfiguration for the requested VideoSource. */ GetImagingSettings(request *GetImagingSettings) (*GetImagingSettingsResponse, error) GetImagingSettingsContext(ctx context.Context, request *GetImagingSettings) (*GetImagingSettingsResponse, error) /* Set the ImagingConfiguration for the requested VideoSource. */ SetImagingSettings(request *SetImagingSettings) (*SetImagingSettingsResponse, error) SetImagingSettingsContext(ctx context.Context, request *SetImagingSettings) (*SetImagingSettingsResponse, error) /* This operation gets the valid ranges for the imaging parameters that have device specific ranges. This command is mandatory for all device implementing the imaging service. The command returns all supported parameters and their ranges such that these can be applied to the SetImagingSettings command. For read-only parameters which cannot be modified via the SetImagingSettings command only a single option or identical Min and Max values is provided. */ GetOptions(request *GetOptions) (*GetOptionsResponse, error) GetOptionsContext(ctx context.Context, request *GetOptions) (*GetOptionsResponse, error) /* The Move command moves the focus lens in an absolute, a relative or in a continuous manner from its current position. The speed argument is optional for absolute and relative control, but required for continuous. If no speed argument is used, the default speed is used. Focus adjustments through this operation will turn off the autofocus. A device with support for remote focus control should support absolute, relative or continuous control through the Move operation. The supported MoveOpions are signalled via the GetMoveOptions command. At least one focus control capability is required for this operation to be functional. The move operation contains the following commands: – Requires position parameter and optionally takes a speed argument. A unitless type is used by default for focus positioning and speed. Optionally, if supported, the position may be requested in m-1 units. – Requires distance parameter and optionally takes a speed argument. Negative distance means negative direction. – Requires a speed argument. Negative speed argument means negative direction. */ Move(request *Move) (*MoveResponse, error) MoveContext(ctx context.Context, request *Move) (*MoveResponse, error) /* Imaging move operation options supported for the Video source. */ GetMoveOptions(request *GetMoveOptions) (*GetMoveOptionsResponse, error) GetMoveOptionsContext(ctx context.Context, request *GetMoveOptions) (*GetMoveOptionsResponse, error) /* The Stop command stops all ongoing focus movements of the lense. A device with support for remote focus control as signalled via the GetMoveOptions supports this command. The operation will not affect ongoing autofocus operation. */ Stop(request *Stop) (*StopResponse, error) StopContext(ctx context.Context, request *Stop) (*StopResponse, error) /* Via this command the current status of the Move operation can be requested. Supported for this command is available if the support for the Move operation is signalled via GetMoveOptions. */ GetStatus(request *GetStatus) (*GetStatusResponse, error) GetStatusContext(ctx context.Context, request *GetStatus) (*GetStatusResponse, error) /* Via this command the list of available Imaging Presets can be requested. */ GetPresets(request *GetPresets) (*GetPresetsResponse, error) GetPresetsContext(ctx context.Context, request *GetPresets) (*GetPresetsResponse, error) /* Via this command the last Imaging Preset applied can be requested. If the camera configuration does not match any of the existing Imaging Presets, the output of GetCurrentPreset shall be Empty. GetCurrentPreset shall return 0 if Imaging Presets are not supported by the Video Source. */ GetCurrentPreset(request *GetCurrentPreset) (*GetCurrentPresetResponse, error) GetCurrentPresetContext(ctx context.Context, request *GetCurrentPreset) (*GetCurrentPresetResponse, error) /* The SetCurrentPreset command shall request a given Imaging Preset to be applied to the specified Video Source. SetCurrentPreset shall only be available for Video Sources with Imaging Presets Capability. Imaging Presets are defined by the Manufacturer, and offered as a tool to simplify Imaging Settings adjustments for specific scene content. When the new Imaging Preset is applied by SetCurrentPreset, the Device shall adjust the Video Source settings to match those defined by the specified Imaging Preset. */ SetCurrentPreset(request *SetCurrentPreset) (*SetCurrentPresetResponse, error) SetCurrentPresetContext(ctx context.Context, request *SetCurrentPreset) (*SetCurrentPresetResponse, error) }
ImagingPort type
func NewImagingPort ¶
func NewImagingPort(client *soap.Client, xaddr string) ImagingPort
type ImagingPreset ¶
type ImagingPreset struct { // Human readable name of the Imaging Preset. Name Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` Token ReferenceToken `xml:"token,attr,omitempty"` Type string `xml:"type,attr,omitempty"` }
ImagingPreset type
type ImagingPresetType ¶
type ImagingPresetType string
ImagingPresetType type
const ( // ImagingPresetTypeCustom const ImagingPresetTypeCustom ImagingPresetType = "Custom" // ImagingPresetTypeClearWeather const ImagingPresetTypeClearWeather ImagingPresetType = "ClearWeather" // ImagingPresetTypeCloudy const ImagingPresetTypeCloudy ImagingPresetType = "Cloudy" // ImagingPresetTypeFog const ImagingPresetTypeFog ImagingPresetType = "Fog" // ImagingPresetTypeRain const ImagingPresetTypeRain ImagingPresetType = "Rain" // ImagingPresetTypeSnowing const ImagingPresetTypeSnowing ImagingPresetType = "Snowing" // ImagingPresetTypeSnow const ImagingPresetTypeSnow ImagingPresetType = "Snow" // ImagingPresetTypeWDR const ImagingPresetTypeWDR ImagingPresetType = "WDR" // ImagingPresetTypeShade const ImagingPresetTypeShade ImagingPresetType = "Shade" // ImagingPresetTypeNight const ImagingPresetTypeNight ImagingPresetType = "Night" // ImagingPresetTypeIndoor const ImagingPresetTypeIndoor ImagingPresetType = "Indoor" // ImagingPresetTypeFluorescent const ImagingPresetTypeFluorescent ImagingPresetType = "Fluorescent" // ImagingPresetTypeIncandescent const ImagingPresetTypeIncandescent ImagingPresetType = "Incandescent" // ImagingPresetTypeSodiumNatrium const ImagingPresetTypeSodiumNatrium ImagingPresetType = "Sodium(Natrium)" // ImagingPresetTypeSunriseHorizon const ImagingPresetTypeSunriseHorizon ImagingPresetType = "Sunrise(Horizon)" // ImagingPresetTypeSunsetRear const ImagingPresetTypeSunsetRear ImagingPresetType = "Sunset(Rear)" // ImagingPresetTypeExtremeHot const ImagingPresetTypeExtremeHot ImagingPresetType = "ExtremeHot" // ImagingPresetTypeExtremeCold const ImagingPresetTypeExtremeCold ImagingPresetType = "ExtremeCold" // ImagingPresetTypeUnderwater const ImagingPresetTypeUnderwater ImagingPresetType = "Underwater" // ImagingPresetTypeCloseUp const ImagingPresetTypeCloseUp ImagingPresetType = "CloseUp" // ImagingPresetTypeMotion const ImagingPresetTypeMotion ImagingPresetType = "Motion" // ImagingPresetTypeFlickerFree50 const ImagingPresetTypeFlickerFree50 ImagingPresetType = "FlickerFree50" // ImagingPresetTypeFlickerFree60 const ImagingPresetTypeFlickerFree60 ImagingPresetType = "FlickerFree60" )
type ImagingSettings ¶
type ImagingSettings struct { // Enabled/disabled BLC mode (on/off). BacklightCompensation BacklightCompensation `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"` // Image brightness (unit unspecified). Brightness float32 `xml:"http://www.onvif.org/ver10/schema Brightness,omitempty"` // Color saturation of the image (unit unspecified). ColorSaturation float32 `xml:"http://www.onvif.org/ver10/schema ColorSaturation,omitempty"` // Contrast of the image (unit unspecified). Contrast float32 `xml:"http://www.onvif.org/ver10/schema Contrast,omitempty"` // Exposure mode of the device. Exposure Exposure `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"` // Focus configuration. Focus FocusConfiguration `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"` // Infrared Cutoff Filter settings. IrCutFilter IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilter,omitempty"` // Sharpness of the Video image. Sharpness float32 `xml:"http://www.onvif.org/ver10/schema Sharpness,omitempty"` // WDR settings. WideDynamicRange WideDynamicRange `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"` // White balance settings. WhiteBalance WhiteBalance `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"` Extension ImagingSettingsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingSettings type
type ImagingSettings20 ¶
type ImagingSettings20 struct { // Enabled/disabled BLC mode (on/off). BacklightCompensation BacklightCompensation20 `xml:"http://www.onvif.org/ver10/schema BacklightCompensation,omitempty"` // Image brightness (unit unspecified). Brightness float32 `xml:"http://www.onvif.org/ver10/schema Brightness,omitempty"` // Color saturation of the image (unit unspecified). ColorSaturation float32 `xml:"http://www.onvif.org/ver10/schema ColorSaturation,omitempty"` // Contrast of the image (unit unspecified). Contrast float32 `xml:"http://www.onvif.org/ver10/schema Contrast,omitempty"` // Exposure mode of the device. Exposure Exposure20 `xml:"http://www.onvif.org/ver10/schema Exposure,omitempty"` // Focus configuration. Focus FocusConfiguration20 `xml:"http://www.onvif.org/ver10/schema Focus,omitempty"` // Infrared Cutoff Filter settings. IrCutFilter IrCutFilterMode `xml:"http://www.onvif.org/ver10/schema IrCutFilter,omitempty"` // Sharpness of the Video image. Sharpness float32 `xml:"http://www.onvif.org/ver10/schema Sharpness,omitempty"` // WDR settings. WideDynamicRange WideDynamicRange20 `xml:"http://www.onvif.org/ver10/schema WideDynamicRange,omitempty"` // White balance settings. WhiteBalance WhiteBalance20 `xml:"http://www.onvif.org/ver10/schema WhiteBalance,omitempty"` Extension ImagingSettingsExtension20 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingSettings20 type
type ImagingSettingsExtension ¶
type ImagingSettingsExtension struct { }
ImagingSettingsExtension type
type ImagingSettingsExtension20 ¶
type ImagingSettingsExtension20 struct { // Optional element to configure Image Stabilization feature. ImageStabilization ImageStabilization `xml:"http://www.onvif.org/ver10/schema ImageStabilization,omitempty"` Extension ImagingSettingsExtension202 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingSettingsExtension20 type
type ImagingSettingsExtension202 ¶
type ImagingSettingsExtension202 struct { // An optional parameter applied to only auto mode to adjust timing of toggling Ir cut filter. IrCutFilterAutoAdjustment []IrCutFilterAutoAdjustment `xml:"http://www.onvif.org/ver10/schema IrCutFilterAutoAdjustment,omitempty"` Extension ImagingSettingsExtension203 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingSettingsExtension202 type
type ImagingSettingsExtension203 ¶
type ImagingSettingsExtension203 struct { // Optional element to configure Image Contrast Compensation. ToneCompensation ToneCompensation `xml:"http://www.onvif.org/ver10/schema ToneCompensation,omitempty"` // Optional element to configure Image Defogging. Defogging Defogging `xml:"http://www.onvif.org/ver10/schema Defogging,omitempty"` // Optional element to configure Image Noise Reduction. NoiseReduction NoiseReduction `xml:"http://www.onvif.org/ver10/schema NoiseReduction,omitempty"` Extension ImagingSettingsExtension204 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingSettingsExtension203 type
type ImagingSettingsExtension204 ¶
type ImagingSettingsExtension204 struct { }
ImagingSettingsExtension204 type
type ImagingStatus ¶
type ImagingStatus struct {
FocusStatus FocusStatus `xml:"http://www.onvif.org/ver10/schema FocusStatus,omitempty"`
}
ImagingStatus type
type ImagingStatus20 ¶
type ImagingStatus20 struct { // // Status of focus. // FocusStatus20 FocusStatus20 `xml:"http://www.onvif.org/ver10/schema FocusStatus20,omitempty"` Extension ImagingStatus20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ImagingStatus20 type
type ImagingStatus20Extension ¶
type ImagingStatus20Extension struct { }
ImagingStatus20Extension type
type IntList ¶
type IntList struct {
Items []int32 `xml:"http://www.onvif.org/ver10/schema Items,omitempty"`
}
IntList type
type IntRange ¶
type IntRange struct { Min int32 `xml:"http://www.onvif.org/ver10/schema Min,omitempty"` Max int32 `xml:"http://www.onvif.org/ver10/schema Max,omitempty"` }
IntRange type
type IntRectangle ¶
type IntRectangle struct { X int32 `xml:"x,attr,omitempty"` Y int32 `xml:"y,attr,omitempty"` Width int32 `xml:"width,attr,omitempty"` Height int32 `xml:"height,attr,omitempty"` }
IntRectangle type
type IntRectangleRange ¶
type IntRectangleRange struct { // Range of X-axis. XRange IntRange `xml:"http://www.onvif.org/ver10/schema XRange,omitempty"` // Range of Y-axis. YRange IntRange `xml:"http://www.onvif.org/ver10/schema YRange,omitempty"` // Range of width. WidthRange IntRange `xml:"http://www.onvif.org/ver10/schema WidthRange,omitempty"` // Range of height. HeightRange IntRange `xml:"http://www.onvif.org/ver10/schema HeightRange,omitempty"` }
IntRectangleRange type
type InvalidFilterFaultType ¶
type InvalidFilterFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidFilterFault"` *BaseFaultType UnknownFilter []QName `xml:"http://www.onvif.org/ver10/schema UnknownFilter,omitempty"` }
InvalidFilterFaultType type
type InvalidMessageContentExpressionFault ¶
type InvalidMessageContentExpressionFault InvalidMessageContentExpressionFaultType
InvalidMessageContentExpressionFault type
type InvalidMessageContentExpressionFaultType ¶
type InvalidMessageContentExpressionFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidMessageContentExpressionFault"` *BaseFaultType }
InvalidMessageContentExpressionFaultType type
type InvalidProducerPropertiesExpressionFault ¶
type InvalidProducerPropertiesExpressionFault InvalidProducerPropertiesExpressionFaultType
InvalidProducerPropertiesExpressionFault type
type InvalidProducerPropertiesExpressionFaultType ¶
type InvalidProducerPropertiesExpressionFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidProducerPropertiesExpressionFault"` *BaseFaultType }
InvalidProducerPropertiesExpressionFaultType type
type InvalidTopicExpressionFault ¶
type InvalidTopicExpressionFault InvalidTopicExpressionFaultType
InvalidTopicExpressionFault type
type InvalidTopicExpressionFaultType ¶
type InvalidTopicExpressionFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 InvalidTopicExpressionFault"` *BaseFaultType }
InvalidTopicExpressionFaultType type
type IrCutFilterAutoAdjustment ¶
type IrCutFilterAutoAdjustment struct { // Specifies which boundaries to automatically toggle Ir cut filter following parameters are applied to. Its options shall be chosen from tt:IrCutFilterAutoBoundaryType. BoundaryType string `xml:"http://www.onvif.org/ver20/imaging/wsdl BoundaryType,omitempty"` // Adjusts boundary exposure level for toggling Ir cut filter to on/off specified with unitless normalized value from +1.0 to -1.0. Zero is default and -1.0 is the darkest adjustment (Unitless). BoundaryOffset float32 `xml:"http://www.onvif.org/ver10/schema BoundaryOffset,omitempty"` // Delay time of toggling Ir cut filter to on/off after crossing of the boundary exposure levels. ResponseTime Duration `xml:"http://www.onvif.org/ver10/schema ResponseTime,omitempty"` Extension IrCutFilterAutoAdjustmentExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
IrCutFilterAutoAdjustment type
type IrCutFilterAutoAdjustmentExtension ¶
type IrCutFilterAutoAdjustmentExtension struct { }
IrCutFilterAutoAdjustmentExtension type
type IrCutFilterAutoAdjustmentOptions ¶
type IrCutFilterAutoAdjustmentOptions struct { // Supported options of boundary types for adjustment of Ir cut filter auto mode. The opptions shall be chosen from tt:IrCutFilterAutoBoundaryType. BoundaryType []string `xml:"http://www.onvif.org/ver20/imaging/wsdl BoundaryType,omitempty"` // Indicates whether or not boundary offset for toggling Ir cut filter is supported. BoundaryOffset bool `xml:"http://www.onvif.org/ver20/imaging/wsdl BoundaryOffset,omitempty"` // Supported range of delay time for toggling Ir cut filter. ResponseTimeRange DurationRange `xml:"http://www.onvif.org/ver10/schema ResponseTimeRange,omitempty"` Extension IrCutFilterAutoAdjustmentOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
IrCutFilterAutoAdjustmentOptions type
type IrCutFilterAutoAdjustmentOptionsExtension ¶
type IrCutFilterAutoAdjustmentOptionsExtension struct { }
IrCutFilterAutoAdjustmentOptionsExtension type
type IrCutFilterAutoBoundaryType ¶
type IrCutFilterAutoBoundaryType string
IrCutFilterAutoBoundaryType type
const ( // IrCutFilterAutoBoundaryTypeCommon const IrCutFilterAutoBoundaryTypeCommon IrCutFilterAutoBoundaryType = "Common" // IrCutFilterAutoBoundaryTypeToOn const IrCutFilterAutoBoundaryTypeToOn IrCutFilterAutoBoundaryType = "ToOn" // IrCutFilterAutoBoundaryTypeToOff const IrCutFilterAutoBoundaryTypeToOff IrCutFilterAutoBoundaryType = "ToOff" // IrCutFilterAutoBoundaryTypeExtended const IrCutFilterAutoBoundaryTypeExtended IrCutFilterAutoBoundaryType = "Extended" )
type IrCutFilterMode ¶
type IrCutFilterMode string
IrCutFilterMode type
const ( // IrCutFilterModeON const IrCutFilterModeON IrCutFilterMode = "ON" // IrCutFilterModeOFF const IrCutFilterModeOFF IrCutFilterMode = "OFF" // IrCutFilterModeAUTO const IrCutFilterModeAUTO IrCutFilterMode = "AUTO" )
type ItemList ¶
type ItemList struct { SimpleItem []struct { Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,attr,omitempty"` Value AnySimpleType `xml:"Value,attr,omitempty"` } `xml:"SimpleItem,omitempty"` ElementItem []struct { Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,attr,omitempty"` } `xml:"ElementItem,omitempty"` Extension ItemListExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ItemList type
type ItemListDescription ¶
type ItemListDescription struct { SimpleItemDescription []struct { Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,attr,omitempty"` Type QName `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"` } `xml:"SimpleItemDescription,omitempty"` ElementItemDescription []struct { Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,attr,omitempty"` Type QName `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"` } `xml:"ElementItemDescription,omitempty"` Extension ItemListDescriptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ItemListDescription type
type ItemListDescriptionExtension ¶
type ItemListDescriptionExtension struct { }
ItemListDescriptionExtension type
type JpegDecOptions ¶
type JpegDecOptions struct { // List of supported Jpeg Video Resolutions ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"` // Supported Jpeg bitrate range in kbps SupportedInputBitrate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedInputBitrate,omitempty"` // Supported Jpeg framerate range in fps SupportedFrameRate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedFrameRate,omitempty"` }
JpegDecOptions type
type JpegOptions ¶
type JpegOptions struct { // List of supported image sizes. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"` // Supported frame rate in fps (frames per second). FrameRateRange IntRange `xml:"http://www.onvif.org/ver10/schema FrameRateRange,omitempty"` // Supported encoding interval range. The encoding interval corresponds to the number of frames devided by the encoded frames. An encoding interval value of "1" means that all frames are encoded. EncodingIntervalRange IntRange `xml:"http://www.onvif.org/ver10/schema EncodingIntervalRange,omitempty"` }
JpegOptions type
type JpegOptions2 ¶
type JpegOptions2 struct { *JpegOptions // Supported range of encoded bitrate in kbps. BitrateRange IntRange `xml:"http://www.onvif.org/ver10/schema BitrateRange,omitempty"` }
JpegOptions2 type
type Layout ¶
type Layout struct { // List of panes assembling the display layout. PaneLayout []PaneLayout `xml:"http://www.onvif.org/ver10/schema PaneLayout,omitempty"` Extension LayoutExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Layout type
type LayoutOptions ¶
type LayoutOptions struct { // Lists the possible Pane Layouts of the Video Output PaneLayoutOptions []PaneLayoutOptions `xml:"http://www.onvif.org/ver10/schema PaneLayoutOptions,omitempty"` Extension LayoutOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
LayoutOptions type
type LensDescription ¶
type LensDescription struct { // Offset of the lens center to the imager center in normalized coordinates. Offset LensOffset `xml:"http://www.onvif.org/ver10/schema Offset,omitempty"` // Radial description of the projection characteristics. The resulting curve is defined by the B-Spline interpolation // over the given elements. The element for Radius zero shall not be provided. The projection points shall be ordered with ascending Radius. // Items outside the last projection Radius shall be assumed to be invisible (black). Projection []LensProjection `xml:"http://www.onvif.org/ver10/schema Projection,omitempty"` // Compensation of the x coordinate needed for the ONVIF normalized coordinate system. XFactor float32 `xml:"http://www.onvif.org/ver10/schema XFactor,omitempty"` FocalLength float32 `xml:"http://www.onvif.org/ver10/schema FocalLength,attr,omitempty"` }
LensDescription type
type LensOffset ¶
LensOffset type
type LensProjection ¶
type LensProjection struct { // Angle of incidence. Angle float32 `xml:"http://www.onvif.org/ver10/schema Angle,omitempty"` // Mapping radius as a consequence of the emergent angle. Radius float32 `xml:"http://www.onvif.org/ver10/schema Radius,omitempty"` // Optional ray absorption at the given angle due to vignetting. A value of one means no absorption. Transmittance float32 `xml:"http://www.onvif.org/ver10/schema Transmittance,omitempty"` }
LensProjection type
type MaximumNumberOfOSDs ¶
type MaximumNumberOfOSDs struct { Total int32 `xml:"http://www.onvif.org/ver10/schema Total,attr,omitempty"` Image int32 `xml:"http://www.onvif.org/ver10/schema Image,attr,omitempty"` PlainText int32 `xml:"http://www.onvif.org/ver10/schema PlainText,attr,omitempty"` Date int32 `xml:"http://www.onvif.org/ver10/schema Date,attr,omitempty"` Time int32 `xml:"http://www.onvif.org/ver10/schema Time,attr,omitempty"` DateAndTime int32 `xml:"http://www.onvif.org/ver10/schema DateAndTime,attr,omitempty"` }
MaximumNumberOfOSDs type
type MediaCapabilities ¶
type MediaCapabilities struct { // Media service URI. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Streaming capabilities. StreamingCapabilities RealTimeStreamingCapabilities `xml:"http://www.onvif.org/ver10/schema StreamingCapabilities,omitempty"` Extension MediaCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
MediaCapabilities type
type MediaCapabilitiesExtension ¶
type MediaCapabilitiesExtension struct {
ProfileCapabilities ProfileCapabilities `xml:"http://www.onvif.org/ver10/schema ProfileCapabilities,omitempty"`
}
MediaCapabilitiesExtension type
type Message ¶
type Message struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Message"` // Token value pairs that triggered this message. Typically only one item is present. Source ItemList `xml:"http://www.onvif.org/ver10/schema Source,omitempty"` Key ItemList `xml:"http://www.onvif.org/ver10/schema Key,omitempty"` Data ItemList `xml:"http://www.onvif.org/ver10/schema Data,omitempty"` Extension MessageExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` UtcTime string `xml:"http://www.onvif.org/ver10/schema UtcTime,attr,omitempty"` PropertyOperation PropertyOperation `xml:"http://www.onvif.org/ver10/schema PropertyOperation,attr,omitempty"` }
Message type
type MessageDescription ¶
type MessageDescription struct { // Set of tokens producing this message. The list may only contain SimpleItemDescription items. // The set of tokens identify the component within the WS-Endpoint, which is responsible for the producing the message. // For analytics events the token set shall include the VideoSourceConfigurationToken, the VideoAnalyticsConfigurationToken // and the name of the analytics module or rule. // Source ItemListDescription `xml:"http://www.onvif.org/ver10/schema Source,omitempty"` // Describes optional message payload parameters that may be used as key. E.g. object IDs of tracked objects are conveyed as key. Key ItemListDescription `xml:"http://www.onvif.org/ver10/schema Key,omitempty"` // Describes the payload of the message. Data ItemListDescription `xml:"http://www.onvif.org/ver10/schema Data,omitempty"` Extension MessageDescriptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` IsProperty bool `xml:"http://www.onvif.org/ver20/imaging/wsdl IsProperty,attr,omitempty"` }
MessageDescription type
type MessageDescriptionExtension ¶
type MessageDescriptionExtension struct { }
MessageDescriptionExtension type
type MetadataAttributes ¶
type MetadataAttributes struct { // Indicates that there can be PTZ data in the metadata track in the specified time interval. CanContainPTZ bool `xml:"http://www.onvif.org/ver20/imaging/wsdl CanContainPTZ,omitempty"` // Indicates that there can be analytics data in the metadata track in the specified time interval. CanContainAnalytics bool `xml:"http://www.onvif.org/ver20/imaging/wsdl CanContainAnalytics,omitempty"` // Indicates that there can be notifications in the metadata track in the specified time interval. CanContainNotifications bool `xml:"http://www.onvif.org/ver20/imaging/wsdl CanContainNotifications,omitempty"` PtzSpaces StringAttrList `xml:"http://www.onvif.org/ver10/schema PtzSpaces,attr,omitempty"` }
MetadataAttributes type
type MetadataCompressionType ¶
type MetadataCompressionType string
MetadataCompressionType type
const ( // MetadataCompressionTypeNone const MetadataCompressionTypeNone MetadataCompressionType = "None" // MetadataCompressionTypeGZIP const MetadataCompressionTypeGZIP MetadataCompressionType = "GZIP" // MetadataCompressionTypeEXI const MetadataCompressionTypeEXI MetadataCompressionType = "EXI" )
type MetadataConfiguration ¶
type MetadataConfiguration struct { *ConfigurationEntity // optional element to configure which PTZ related data is to include in the metadata stream PTZStatus PTZFilter `xml:"http://www.onvif.org/ver10/schema PTZStatus,omitempty"` // Optional element to configure the streaming of events. A client might be interested in receiving all, // none or some of the events produced by the device: // Events EventSubscription `xml:"http://www.onvif.org/ver10/schema Events,omitempty"` // Defines whether the streamed metadata will include metadata from the analytics engines (video, cell motion, audio etc.) Analytics bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Analytics,omitempty"` // Defines the multicast settings that could be used for video streaming. Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast,omitempty"` // The rtsp session timeout for the related audio stream (when using Media2 Service, this value is deprecated and ignored) SessionTimeout Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout,omitempty"` AnalyticsEngineConfiguration AnalyticsEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration,omitempty"` Extension MetadataConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` CompressionType string `xml:"http://www.onvif.org/ver20/imaging/wsdl CompressionType,attr,omitempty"` GeoLocation bool `xml:"http://www.onvif.org/ver20/imaging/wsdl GeoLocation,attr,omitempty"` }
MetadataConfiguration type
type MetadataConfigurationExtension ¶
type MetadataConfigurationExtension struct { }
MetadataConfigurationExtension type
type MetadataConfigurationOptions ¶
type MetadataConfigurationOptions struct { PTZStatusFilterOptions PTZStatusFilterOptions `xml:"http://www.onvif.org/ver10/schema PTZStatusFilterOptions,omitempty"` Extension MetadataConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` GeoLocation bool `xml:"http://www.onvif.org/ver20/imaging/wsdl GeoLocation,attr,omitempty"` }
MetadataConfigurationOptions type
type MetadataConfigurationOptionsExtension ¶
type MetadataConfigurationOptionsExtension struct { // List of supported metadata compression type. Its options shall be chosen from tt:MetadataCompressionType. CompressionType []string `xml:"http://www.onvif.org/ver20/imaging/wsdl CompressionType,omitempty"` Extension MetadataConfigurationOptionsExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
MetadataConfigurationOptionsExtension type
type MetadataConfigurationOptionsExtension2 ¶
type MetadataConfigurationOptionsExtension2 struct { }
MetadataConfigurationOptionsExtension2 type
type MetadataInput ¶
type MetadataInput struct { MetadataConfig []Config `xml:"http://www.onvif.org/ver10/schema MetadataConfig,omitempty"` Extension MetadataInputExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
MetadataInput type
type MetadataType ¶
MetadataType type
type ModeOfOperation ¶
type ModeOfOperation string
ModeOfOperation type
const ( // ModeOfOperationIdle const ModeOfOperationIdle ModeOfOperation = "Idle" // ModeOfOperationActive const ModeOfOperationActive ModeOfOperation = "Active" // This case should never happen. // ModeOfOperationUnknown const ModeOfOperationUnknown ModeOfOperation = "Unknown" )
type Move ¶
type Move struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Move"` // // Reference to the VideoSource for the requested move (focus) operation. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` // // Content of the requested move (focus) operation. // Focus FocusMove `xml:"http://www.onvif.org/ver20/imaging/wsdl Focus,omitempty"` }
Move type
type MoveOptions ¶
type MoveOptions struct { Absolute AbsoluteFocusOptions `xml:"http://www.onvif.org/ver10/schema Absolute,omitempty"` Relative RelativeFocusOptions `xml:"http://www.onvif.org/ver10/schema Relative,omitempty"` Continuous ContinuousFocusOptions `xml:"http://www.onvif.org/ver10/schema Continuous,omitempty"` }
MoveOptions type
type MoveOptions20 ¶
type MoveOptions20 struct { // // Valid ranges for the absolute control. // Absolute AbsoluteFocusOptions `xml:"http://www.onvif.org/ver10/schema Absolute,omitempty"` // // Valid ranges for the relative control. // Relative RelativeFocusOptions20 `xml:"http://www.onvif.org/ver10/schema Relative,omitempty"` // // Valid ranges for the continuous control. // Continuous ContinuousFocusOptions `xml:"http://www.onvif.org/ver10/schema Continuous,omitempty"` }
MoveOptions20 type
type MoveResponse ¶
MoveResponse type
type MoveStatus ¶
type MoveStatus string
MoveStatus type
const ( // MoveStatusIDLE const MoveStatusIDLE MoveStatus = "IDLE" // MoveStatusMOVING const MoveStatusMOVING MoveStatus = "MOVING" // MoveStatusUNKNOWN const MoveStatusUNKNOWN MoveStatus = "UNKNOWN" )
type Mpeg4Configuration ¶
type Mpeg4Configuration struct { // Determines the interval in which the I-Frames will be coded. An entry of 1 indicates I-Frames are continuously generated. An entry of 2 indicates that every 2nd image is an I-Frame, and 3 only every 3rd frame, etc. The frames in between are coded as P or B Frames. GovLength int32 `xml:"http://www.onvif.org/ver10/schema GovLength,omitempty"` // the Mpeg4 profile, either simple profile (SP) or advanced simple profile (ASP) Mpeg4Profile Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema Mpeg4Profile,omitempty"` }
Mpeg4Configuration type
type Mpeg4DecOptions ¶
type Mpeg4DecOptions struct { // List of supported Mpeg4 Video Resolutions ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"` // List of supported Mpeg4 Profiles (either SP or ASP) SupportedMpeg4Profiles []Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema SupportedMpeg4Profiles,omitempty"` // Supported Mpeg4 bitrate range in kbps SupportedInputBitrate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedInputBitrate,omitempty"` // Supported Mpeg4 framerate range in fps SupportedFrameRate IntRange `xml:"http://www.onvif.org/ver10/schema SupportedFrameRate,omitempty"` }
Mpeg4DecOptions type
type Mpeg4Options ¶
type Mpeg4Options struct { // List of supported image sizes. ResolutionsAvailable []VideoResolution `xml:"http://www.onvif.org/ver10/schema ResolutionsAvailable,omitempty"` // Supported group of Video frames length. This value typically corresponds to the I-Frame distance. GovLengthRange IntRange `xml:"http://www.onvif.org/ver10/schema GovLengthRange,omitempty"` // Supported frame rate in fps (frames per second). FrameRateRange IntRange `xml:"http://www.onvif.org/ver10/schema FrameRateRange,omitempty"` // Supported encoding interval range. The encoding interval corresponds to the number of frames devided by the encoded frames. An encoding interval value of "1" means that all frames are encoded. EncodingIntervalRange IntRange `xml:"http://www.onvif.org/ver10/schema EncodingIntervalRange,omitempty"` // List of supported MPEG-4 profiles. Mpeg4ProfilesSupported []Mpeg4Profile `xml:"http://www.onvif.org/ver10/schema Mpeg4ProfilesSupported,omitempty"` }
Mpeg4Options type
type Mpeg4Options2 ¶
type Mpeg4Options2 struct { *Mpeg4Options // Supported range of encoded bitrate in kbps. BitrateRange IntRange `xml:"http://www.onvif.org/ver10/schema BitrateRange,omitempty"` }
Mpeg4Options2 type
type Mpeg4Profile ¶
type Mpeg4Profile string
Mpeg4Profile type
const ( // Mpeg4ProfileSP const Mpeg4ProfileSP Mpeg4Profile = "SP" // Mpeg4ProfileASP const Mpeg4ProfileASP Mpeg4Profile = "ASP" )
type MulticastConfiguration ¶
type MulticastConfiguration struct { // The multicast address (if this address is set to 0 no multicast streaming is enaled) Address IPAddress `xml:"http://www.onvif.org/ver10/schema Address,omitempty"` // The RTP mutlicast destination port. A device may support RTCP. In this case the port value shall be even to allow the corresponding RTCP stream to be mapped to the next higher (odd) destination port number as defined in the RTSP specification. Port int32 `xml:"http://www.onvif.org/ver10/schema Port,omitempty"` // In case of IPv6 the TTL value is assumed as the hop limit. Note that for IPV6 and administratively scoped IPv4 multicast the primary use for hop limit / TTL is to prevent packets from (endlessly) circulating and not limiting scope. In these cases the address contains the scope. TTL int32 `xml:"http://www.onvif.org/ver10/schema TTL,omitempty"` // Read only property signalling that streaming is persistant. Use the methods StartMulticastStreaming and StopMulticastStreaming to switch its state. AutoStart bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AutoStart,omitempty"` }
MulticastConfiguration type
type MultipleTopicsSpecifiedFault ¶
type MultipleTopicsSpecifiedFault MultipleTopicsSpecifiedFaultType
MultipleTopicsSpecifiedFault type
type MultipleTopicsSpecifiedFaultType ¶
type MultipleTopicsSpecifiedFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 MultipleTopicsSpecifiedFault"` *BaseFaultType }
MultipleTopicsSpecifiedFaultType type
type NTPInformation ¶
type NTPInformation struct { // Indicates if NTP information is to be retrieved by using DHCP. FromDHCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl FromDHCP,omitempty"` // List of NTP addresses retrieved by using DHCP. NTPFromDHCP []NetworkHost `xml:"http://www.onvif.org/ver10/schema NTPFromDHCP,omitempty"` // List of manually entered NTP addresses. NTPManual []NetworkHost `xml:"http://www.onvif.org/ver10/schema NTPManual,omitempty"` Extension NTPInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NTPInformation type
type NetworkCapabilities ¶
type NetworkCapabilities struct { // Indicates whether or not IP filtering is supported. IPFilter bool `xml:"http://www.onvif.org/ver20/imaging/wsdl IPFilter,omitempty"` // Indicates whether or not zeroconf is supported. ZeroConfiguration bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ZeroConfiguration,omitempty"` // Indicates whether or not IPv6 is supported. IPVersion6 bool `xml:"http://www.onvif.org/ver20/imaging/wsdl IPVersion6,omitempty"` // Indicates whether or not is supported. DynDNS bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DynDNS,omitempty"` Extension NetworkCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkCapabilities type
type NetworkCapabilitiesExtension ¶
type NetworkCapabilitiesExtension struct { Dot11Configuration bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Dot11Configuration,omitempty"` Extension NetworkCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkCapabilitiesExtension type
type NetworkCapabilitiesExtension2 ¶
type NetworkCapabilitiesExtension2 struct { }
NetworkCapabilitiesExtension2 type
type NetworkHost ¶
type NetworkHost struct { // Network host type: IPv4, IPv6 or DNS. Type NetworkHostType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` // IPv4 address. IPv4Address IPv4Address `xml:"http://www.onvif.org/ver10/schema IPv4Address,omitempty"` // IPv6 address. IPv6Address IPv6Address `xml:"http://www.onvif.org/ver10/schema IPv6Address,omitempty"` // DNS name. DNSname DNSName `xml:"http://www.onvif.org/ver10/schema DNSname,omitempty"` Extension NetworkHostExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkHost type
type NetworkHostType ¶
type NetworkHostType string
NetworkHostType type
const ( // NetworkHostTypeIPv4 const NetworkHostTypeIPv4 NetworkHostType = "IPv4" // NetworkHostTypeIPv6 const NetworkHostTypeIPv6 NetworkHostType = "IPv6" // NetworkHostTypeDNS const NetworkHostTypeDNS NetworkHostType = "DNS" )
type NetworkInterface ¶
type NetworkInterface struct { *DeviceEntity // Indicates whether or not an interface is enabled. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // Network interface information Info NetworkInterfaceInfo `xml:"http://www.onvif.org/ver10/schema Info,omitempty"` // Link configuration. Link NetworkInterfaceLink `xml:"http://www.onvif.org/ver10/schema Link,omitempty"` // IPv4 network interface configuration. IPv4 IPv4NetworkInterface `xml:"http://www.onvif.org/ver10/schema IPv4,omitempty"` // IPv6 network interface configuration. IPv6 IPv6NetworkInterface `xml:"http://www.onvif.org/ver10/schema IPv6,omitempty"` Extension NetworkInterfaceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkInterface type
type NetworkInterfaceConfigPriority ¶
type NetworkInterfaceConfigPriority int32
NetworkInterfaceConfigPriority type
type NetworkInterfaceConnectionSetting ¶
type NetworkInterfaceConnectionSetting struct { // Auto negotiation on/off. AutoNegotiation bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AutoNegotiation,omitempty"` // Speed. Speed int32 `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` // Duplex type, Half or Full. Duplex Duplex `xml:"http://www.onvif.org/ver10/schema Duplex,omitempty"` }
NetworkInterfaceConnectionSetting type
type NetworkInterfaceExtension ¶
type NetworkInterfaceExtension struct { InterfaceType IANAIfTypes `xml:"InterfaceType,omitempty"` // Extension point prepared for future 802.3 configuration. Dot3 []Dot3Configuration `xml:"http://www.onvif.org/ver10/schema Dot3,omitempty"` Dot11 []Dot11Configuration `xml:"http://www.onvif.org/ver10/schema Dot11,omitempty"` Extension NetworkInterfaceExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkInterfaceExtension type
type NetworkInterfaceExtension2 ¶
type NetworkInterfaceExtension2 struct { }
NetworkInterfaceExtension2 type
type NetworkInterfaceInfo ¶
type NetworkInterfaceInfo struct { // Network interface name, for example eth0. Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` // Network interface MAC address. HwAddress HwAddress `xml:"http://www.onvif.org/ver10/schema HwAddress,omitempty"` // Maximum transmission unit. MTU int32 `xml:"http://www.onvif.org/ver10/schema MTU,omitempty"` }
NetworkInterfaceInfo type
type NetworkInterfaceLink ¶
type NetworkInterfaceLink struct { // Configured link settings. AdminSettings NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema AdminSettings,omitempty"` // Current active link settings. OperSettings NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema OperSettings,omitempty"` // Integer indicating interface type, for example: 6 is ethernet. InterfaceType IANAIfTypes `xml:"InterfaceType,omitempty"` }
NetworkInterfaceLink type
type NetworkInterfaceSetConfiguration ¶
type NetworkInterfaceSetConfiguration struct { // Indicates whether or not an interface is enabled. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // Link configuration. Link NetworkInterfaceConnectionSetting `xml:"http://www.onvif.org/ver10/schema Link,omitempty"` // Maximum transmission unit. MTU int32 `xml:"http://www.onvif.org/ver10/schema MTU,omitempty"` // IPv4 network interface configuration. IPv4 IPv4NetworkInterfaceSetConfiguration `xml:"http://www.onvif.org/ver10/schema IPv4,omitempty"` // IPv6 network interface configuration. IPv6 IPv6NetworkInterfaceSetConfiguration `xml:"http://www.onvif.org/ver10/schema IPv6,omitempty"` Extension NetworkInterfaceSetConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkInterfaceSetConfiguration type
type NetworkInterfaceSetConfigurationExtension ¶
type NetworkInterfaceSetConfigurationExtension struct { Dot3 []Dot3Configuration `xml:"http://www.onvif.org/ver10/schema Dot3,omitempty"` Dot11 []Dot11Configuration `xml:"http://www.onvif.org/ver10/schema Dot11,omitempty"` Extension NetworkInterfaceSetConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkInterfaceSetConfigurationExtension type
type NetworkInterfaceSetConfigurationExtension2 ¶
type NetworkInterfaceSetConfigurationExtension2 struct { }
NetworkInterfaceSetConfigurationExtension2 type
type NetworkProtocol ¶
type NetworkProtocol struct { // Network protocol type string. Name NetworkProtocolType `xml:"http://www.onvif.org/ver10/schema Name,omitempty"` // Indicates if the protocol is enabled or not. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // The port that is used by the protocol. Port []int32 `xml:"http://www.onvif.org/ver10/schema Port,omitempty"` Extension NetworkProtocolExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkProtocol type
type NetworkProtocolExtension ¶
type NetworkProtocolExtension struct { }
NetworkProtocolExtension type
type NetworkProtocolType ¶
type NetworkProtocolType string
NetworkProtocolType type
const ( // NetworkProtocolTypeHTTP const NetworkProtocolTypeHTTP NetworkProtocolType = "HTTP" // NetworkProtocolTypeHTTPS const NetworkProtocolTypeHTTPS NetworkProtocolType = "HTTPS" // NetworkProtocolTypeRTSP const NetworkProtocolTypeRTSP NetworkProtocolType = "RTSP" )
type NetworkZeroConfiguration ¶
type NetworkZeroConfiguration struct { // Unique identifier of network interface. InterfaceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl InterfaceToken,omitempty"` // Indicates whether the zero-configuration is enabled or not. Enabled bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Enabled,omitempty"` // The zero-configuration IPv4 address(es) Addresses []IPv4Address `xml:"http://www.onvif.org/ver10/schema Addresses,omitempty"` Extension *NetworkZeroConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkZeroConfiguration type
type NetworkZeroConfigurationExtension ¶
type NetworkZeroConfigurationExtension struct { // Optional array holding the configuration for the second and possibly further interfaces. Additional []NetworkZeroConfiguration `xml:"http://www.onvif.org/ver10/schema Additional,omitempty"` Extension NetworkZeroConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
NetworkZeroConfigurationExtension type
type NetworkZeroConfigurationExtension2 ¶
type NetworkZeroConfigurationExtension2 struct { }
NetworkZeroConfigurationExtension2 type
type NoCurrentMessageOnTopicFault ¶
type NoCurrentMessageOnTopicFault NoCurrentMessageOnTopicFaultType
NoCurrentMessageOnTopicFault type
type NoCurrentMessageOnTopicFaultType ¶
type NoCurrentMessageOnTopicFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 NoCurrentMessageOnTopicFault"` *BaseFaultType }
NoCurrentMessageOnTopicFaultType type
type NoiseReduction ¶
type NoiseReduction struct { // Level parameter specified with unitless normalized value from 0.0 to +1.0. Level=0 means no noise reduction or minimal noise reduction. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
NoiseReduction type
type NoiseReductionOptions ¶
type NoiseReductionOptions struct { // Indicates whether or not support Level parameter for NoiseReduction. Level bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Level,omitempty"` }
NoiseReductionOptions type
type NotUnderstoodType ¶
type NotUnderstoodType struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope NotUnderstood"` Qname QName `xml:"qname,attr,omitempty"` }
NotUnderstoodType type
type NotificationMessage ¶
type NotificationMessage NotificationMessageHolderType
NotificationMessage type
type NotificationMessageHolderType ¶
type NotificationMessageHolderType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 NotificationMessage"` SubscriptionReference SubscriptionReference `xml:"SubscriptionReference,omitempty"` Topic Topic `xml:"Topic,omitempty"` ProducerReference ProducerReference `xml:"ProducerReference,omitempty"` Message struct { } `xml:"Message,omitempty"` }
NotificationMessageHolderType type
type Notify ¶
type Notify struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 Notify"` NotificationMessage []NotificationMessage `xml:"NotificationMessage,omitempty"` }
Notify type
type NotifyMessageNotSupportedFault ¶
type NotifyMessageNotSupportedFault NotifyMessageNotSupportedFaultType
NotifyMessageNotSupportedFault type
type NotifyMessageNotSupportedFaultType ¶
type NotifyMessageNotSupportedFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 NotifyMessageNotSupportedFault"` *BaseFaultType }
NotifyMessageNotSupportedFaultType type
type OSDColor ¶
type OSDColor struct { Color Color `xml:"http://www.onvif.org/ver10/schema Color,omitempty"` Transparent int32 `xml:"http://www.onvif.org/ver10/schema Transparent,attr,omitempty"` }
OSDColor type
type OSDColorOptions ¶
type OSDColorOptions struct { // Optional list of supported colors. Color ColorOptions `xml:"http://www.onvif.org/ver10/schema Color,omitempty"` // Range of the transparent level. Larger means more tranparent. Transparent IntRange `xml:"http://www.onvif.org/ver10/schema Transparent,omitempty"` Extension OSDColorOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
OSDColorOptions type
type OSDColorOptionsExtension ¶
type OSDColorOptionsExtension struct { }
OSDColorOptionsExtension type
type OSDConfiguration ¶
type OSDConfiguration struct { *DeviceEntity // Reference to the video source configuration. VideoSourceConfigurationToken OSDReference `xml:"http://www.onvif.org/ver10/schema VideoSourceConfigurationToken,omitempty"` // Type of OSD. Type OSDType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` // Position configuration of OSD. Position OSDPosConfiguration `xml:"http://www.onvif.org/ver10/schema Position,omitempty"` // Text configuration of OSD. It shall be present when the value of Type field is Text. TextString OSDTextConfiguration `xml:"http://www.onvif.org/ver10/schema TextString,omitempty"` // Image configuration of OSD. It shall be present when the value of Type field is Image Image OSDImgConfiguration `xml:"http://www.onvif.org/ver10/schema Image,omitempty"` Extension OSDConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
OSDConfiguration type
type OSDConfigurationExtension ¶
type OSDConfigurationExtension struct { }
OSDConfigurationExtension type
type OSDConfigurationOptions ¶
type OSDConfigurationOptions struct { // The maximum number of OSD configurations supported for the specified video source configuration. If the configuration does not support OSDs, this value shall be zero and the Type and PositionOption elements are ignored. If a device limits the number of instances by OSDType, it shall indicate the supported number for each type via the related attribute. MaximumNumberOfOSDs MaximumNumberOfOSDs `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfOSDs,omitempty"` // List supported type of OSD configuration. When a device indicates the supported number for each types in MaximumNumberOfOSDs, related type shall be presented. A device shall return Option element relating to listed type. Type []OSDType `xml:"http://www.onvif.org/ver10/schema Type,omitempty"` // List available OSD position type. Following are the pre-defined: // PositionOption []string `xml:"http://www.onvif.org/ver20/imaging/wsdl PositionOption,omitempty"` // Option of the OSD text configuration. This element shall be returned if the device is signaling the support for Text. TextOption OSDTextOptions `xml:"http://www.onvif.org/ver10/schema TextOption,omitempty"` // Option of the OSD image configuration. This element shall be returned if the device is signaling the support for Image. ImageOption OSDImgOptions `xml:"http://www.onvif.org/ver10/schema ImageOption,omitempty"` Extension OSDConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
OSDConfigurationOptions type
type OSDConfigurationOptionsExtension ¶
type OSDConfigurationOptionsExtension struct { }
OSDConfigurationOptionsExtension type
type OSDImgConfiguration ¶
type OSDImgConfiguration struct { // The URI of the image which to be displayed. ImgPath AnyURI `xml:"http://www.onvif.org/ver10/schema ImgPath,omitempty"` Extension OSDImgConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
OSDImgConfiguration type
type OSDImgConfigurationExtension ¶
type OSDImgConfigurationExtension struct { }
OSDImgConfigurationExtension type
type OSDImgOptions ¶
type OSDImgOptions struct { // List of available image URIs. ImagePath []AnyURI `xml:"http://www.onvif.org/ver10/schema ImagePath,omitempty"` Extension OSDImgOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` FormatsSupported StringAttrList `xml:"http://www.onvif.org/ver10/schema FormatsSupported,attr,omitempty"` MaxSize int32 `xml:"http://www.onvif.org/ver10/schema MaxSize,attr,omitempty"` MaxWidth int32 `xml:"http://www.onvif.org/ver10/schema MaxWidth,attr,omitempty"` MaxHeight int32 `xml:"http://www.onvif.org/ver10/schema MaxHeight,attr,omitempty"` }
OSDImgOptions type
type OSDPosConfiguration ¶
type OSDPosConfiguration struct { // For OSD position type, following are the pre-defined: // Type string `xml:"http://www.onvif.org/ver20/imaging/wsdl Type,omitempty"` Pos Vector `xml:"http://www.onvif.org/ver10/schema Pos,omitempty"` Extension OSDPosConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
OSDPosConfiguration type
type OSDPosConfigurationExtension ¶
type OSDPosConfigurationExtension struct { }
OSDPosConfigurationExtension type
type OSDTextConfiguration ¶
type OSDTextConfiguration struct { // // The following OSD Text Type are defined: // Type string `xml:"http://www.onvif.org/ver20/imaging/wsdl Type,omitempty"` // // List of supported OSD date formats. This element shall be present when the value of Type field has Date or DateAndTime. The following DateFormat are defined: // DateFormat string `xml:"http://www.onvif.org/ver20/imaging/wsdl DateFormat,omitempty"` // // List of supported OSD time formats. This element shall be present when the value of Type field has Time or DateAndTime. The following TimeFormat are defined: // TimeFormat string `xml:"http://www.onvif.org/ver20/imaging/wsdl TimeFormat,omitempty"` // Font size of the text in pt. FontSize int32 `xml:"http://www.onvif.org/ver10/schema FontSize,omitempty"` // Font color of the text. FontColor OSDColor `xml:"http://www.onvif.org/ver10/schema FontColor,omitempty"` // Background color of the text. BackgroundColor OSDColor `xml:"http://www.onvif.org/ver10/schema BackgroundColor,omitempty"` // The content of text to be displayed. PlainText string `xml:"http://www.onvif.org/ver20/imaging/wsdl PlainText,omitempty"` Extension OSDTextConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` IsPersistentText bool `xml:"http://www.onvif.org/ver20/imaging/wsdl IsPersistentText,attr,omitempty"` }
OSDTextConfiguration type
type OSDTextConfigurationExtension ¶
type OSDTextConfigurationExtension struct { }
OSDTextConfigurationExtension type
type OSDTextOptions ¶
type OSDTextOptions struct { // List of supported OSD text type. When a device indicates the supported number relating to Text type in MaximumNumberOfOSDs, the type shall be presented. Type []string `xml:"http://www.onvif.org/ver20/imaging/wsdl Type,omitempty"` // Range of the font size value. FontSizeRange IntRange `xml:"http://www.onvif.org/ver10/schema FontSizeRange,omitempty"` // List of supported date format. DateFormat []string `xml:"http://www.onvif.org/ver20/imaging/wsdl DateFormat,omitempty"` // List of supported time format. TimeFormat []string `xml:"http://www.onvif.org/ver20/imaging/wsdl TimeFormat,omitempty"` // List of supported font color. FontColor OSDColorOptions `xml:"http://www.onvif.org/ver10/schema FontColor,omitempty"` // List of supported background color. BackgroundColor OSDColorOptions `xml:"http://www.onvif.org/ver10/schema BackgroundColor,omitempty"` Extension OSDTextOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
OSDTextOptions type
type OnvifVersion ¶
type OnvifVersion struct { // Major version number. Major int32 `xml:"http://www.onvif.org/ver10/schema Major,omitempty"` // // Two digit minor version number. // If major version number is less than "16", X.0.1 maps to "01" and X.2.1 maps to "21" where X stands for Major version number. // Otherwise, minor number is month of release, such as "06" for June. // Minor int32 `xml:"http://www.onvif.org/ver10/schema Minor,omitempty"` }
OnvifVersion type
type PTControlDirection ¶
type PTControlDirection struct { // Optional element to configure related parameters for E-Flip. EFlip EFlip `xml:"http://www.onvif.org/ver10/schema EFlip,omitempty"` // Optional element to configure related parameters for reversing of PT Control Direction. Reverse Reverse `xml:"http://www.onvif.org/ver10/schema Reverse,omitempty"` Extension PTControlDirectionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTControlDirection type
type PTControlDirectionExtension ¶
type PTControlDirectionExtension struct { }
PTControlDirectionExtension type
type PTControlDirectionOptions ¶
type PTControlDirectionOptions struct { // Supported options for EFlip feature. EFlip EFlipOptions `xml:"http://www.onvif.org/ver10/schema EFlip,omitempty"` // Supported options for Reverse feature. Reverse ReverseOptions `xml:"http://www.onvif.org/ver10/schema Reverse,omitempty"` Extension PTControlDirectionOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTControlDirectionOptions type
type PTControlDirectionOptionsExtension ¶
type PTControlDirectionOptionsExtension struct { }
PTControlDirectionOptionsExtension type
type PTZCapabilities ¶
type PTZCapabilities struct { // PTZ service URI. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` }
PTZCapabilities type
type PTZConfiguration ¶
type PTZConfiguration struct { *ConfigurationEntity // // A mandatory reference to the PTZ Node that the PTZ Configuration belongs to. // NodeToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl NodeToken,omitempty"` // // If the PTZ Node supports absolute Pan/Tilt movements, it shall specify one Absolute Pan/Tilt Position Space as default. // DefaultAbsolutePantTiltPositionSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultAbsolutePantTiltPositionSpace,omitempty"` // // If the PTZ Node supports absolute zoom movements, it shall specify one Absolute Zoom Position Space as default. // DefaultAbsoluteZoomPositionSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultAbsoluteZoomPositionSpace,omitempty"` // // If the PTZ Node supports relative Pan/Tilt movements, it shall specify one RelativePan/Tilt Translation Space as default. // DefaultRelativePanTiltTranslationSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultRelativePanTiltTranslationSpace,omitempty"` // // If the PTZ Node supports relative zoom movements, it shall specify one Relative Zoom Translation Space as default. // DefaultRelativeZoomTranslationSpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultRelativeZoomTranslationSpace,omitempty"` // // If the PTZ Node supports continuous Pan/Tilt movements, it shall specify one Continuous Pan/Tilt Velocity Space as default. // DefaultContinuousPanTiltVelocitySpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultContinuousPanTiltVelocitySpace,omitempty"` // // If the PTZ Node supports continuous zoom movements, it shall specify one Continuous Zoom Velocity Space as default. // DefaultContinuousZoomVelocitySpace AnyURI `xml:"http://www.onvif.org/ver10/schema DefaultContinuousZoomVelocitySpace,omitempty"` // // If the PTZ Node supports absolute or relative PTZ movements, it shall specify corresponding default Pan/Tilt and Zoom speeds. // DefaultPTZSpeed PTZSpeed `xml:"http://www.onvif.org/ver10/schema DefaultPTZSpeed,omitempty"` // // If the PTZ Node supports continuous movements, it shall specify a default timeout, after which the movement stops. // DefaultPTZTimeout Duration `xml:"http://www.onvif.org/ver10/schema DefaultPTZTimeout,omitempty"` // // The Pan/Tilt limits element should be present for a PTZ Node that supports an absolute Pan/Tilt. If the element is present it signals the support for configurable Pan/Tilt limits. If limits are enabled, the Pan/Tilt movements shall always stay within the specified range. The Pan/Tilt limits are disabled by setting the limits to –INF or +INF. // PanTiltLimits PanTiltLimits `xml:"http://www.onvif.org/ver10/schema PanTiltLimits,omitempty"` // // The Zoom limits element should be present for a PTZ Node that supports absolute zoom. If the element is present it signals the supports for configurable Zoom limits. If limits are enabled the zoom movements shall always stay within the specified range. The Zoom limits are disabled by settings the limits to -INF and +INF. // ZoomLimits ZoomLimits `xml:"http://www.onvif.org/ver10/schema ZoomLimits,omitempty"` Extension PTZConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` MoveRamp int32 `xml:"http://www.onvif.org/ver10/schema MoveRamp,attr,omitempty"` PresetRamp int32 `xml:"http://www.onvif.org/ver10/schema PresetRamp,attr,omitempty"` PresetTourRamp int32 `xml:"http://www.onvif.org/ver10/schema PresetTourRamp,attr,omitempty"` }
PTZConfiguration type
type PTZConfigurationExtension ¶
type PTZConfigurationExtension struct { // Optional element to configure PT Control Direction related features. PTControlDirection PTControlDirection `xml:"http://www.onvif.org/ver10/schema PTControlDirection,omitempty"` Extension PTZConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZConfigurationExtension type
type PTZConfigurationExtension2 ¶
type PTZConfigurationExtension2 struct { }
PTZConfigurationExtension2 type
type PTZConfigurationOptions ¶
type PTZConfigurationOptions struct { // // A list of supported coordinate systems including their range limitations. // Spaces PTZSpaces `xml:"http://www.onvif.org/ver10/schema Spaces,omitempty"` // // A timeout Range within which Timeouts are accepted by the PTZ Node. // PTZTimeout DurationRange `xml:"http://www.onvif.org/ver10/schema PTZTimeout,omitempty"` // Supported options for PT Direction Control. PTControlDirection PTControlDirectionOptions `xml:"http://www.onvif.org/ver10/schema PTControlDirection,omitempty"` Extension PTZConfigurationOptions2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` PTZRamps IntAttrList `xml:"http://www.onvif.org/ver10/schema PTZRamps,attr,omitempty"` }
PTZConfigurationOptions type
type PTZConfigurationOptions2 ¶
type PTZConfigurationOptions2 struct { }
PTZConfigurationOptions2 type
type PTZFilter ¶
type PTZFilter struct { // True if the metadata stream shall contain the PTZ status (IDLE, MOVING or UNKNOWN) Status bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Status,omitempty"` // True if the metadata stream shall contain the PTZ position Position bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Position,omitempty"` }
PTZFilter type
type PTZMoveStatus ¶
type PTZMoveStatus struct { PanTilt MoveStatus `xml:"http://www.onvif.org/ver10/schema PanTilt,omitempty"` Zoom MoveStatus `xml:"http://www.onvif.org/ver10/schema Zoom,omitempty"` }
PTZMoveStatus type
type PTZNode ¶
type PTZNode struct { *DeviceEntity // // A unique identifier that is used to reference PTZ Nodes. // Name Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` // // A list of Coordinate Systems available for the PTZ Node. For each Coordinate System, the PTZ Node MUST specify its allowed range. // SupportedPTZSpaces PTZSpaces `xml:"http://www.onvif.org/ver10/schema SupportedPTZSpaces,omitempty"` // // All preset operations MUST be available for this PTZ Node if one preset is supported. // MaximumNumberOfPresets int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfPresets,omitempty"` // // A boolean operator specifying the availability of a home position. If set to true, the Home Position Operations MUST be available for this PTZ Node. // HomeSupported bool `xml:"http://www.onvif.org/ver20/imaging/wsdl HomeSupported,omitempty"` // // A list of supported Auxiliary commands. If the list is not empty, the Auxiliary Operations MUST be available for this PTZ Node. // AuxiliaryCommands []AuxiliaryData `xml:"http://www.onvif.org/ver10/schema AuxiliaryCommands,omitempty"` Extension PTZNodeExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` FixedHomePosition bool `xml:"http://www.onvif.org/ver20/imaging/wsdl FixedHomePosition,attr,omitempty"` GeoMove bool `xml:"http://www.onvif.org/ver20/imaging/wsdl GeoMove,attr,omitempty"` }
PTZNode type
type PTZNodeExtension ¶
type PTZNodeExtension struct { // // Detail of supported Preset Tour feature. // SupportedPresetTour PTZPresetTourSupported `xml:"http://www.onvif.org/ver10/schema SupportedPresetTour,omitempty"` Extension PTZNodeExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZNodeExtension type
type PTZPreset ¶
type PTZPreset struct { // // A list of preset position name. // Name Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` // // A list of preset position. // PTZPosition PTZVector `xml:"http://www.onvif.org/ver10/schema PTZPosition,omitempty"` Token ReferenceToken `xml:"token,attr,omitempty"` }
PTZPreset type
type PTZPresetTourDirection ¶
type PTZPresetTourDirection string
PTZPresetTourDirection type
const ( // PTZPresetTourDirectionForward const PTZPresetTourDirectionForward PTZPresetTourDirection = "Forward" // PTZPresetTourDirectionBackward const PTZPresetTourDirectionBackward PTZPresetTourDirection = "Backward" // PTZPresetTourDirectionExtended const PTZPresetTourDirectionExtended PTZPresetTourDirection = "Extended" )
type PTZPresetTourOperation ¶
type PTZPresetTourOperation string
PTZPresetTourOperation type
const ( // PTZPresetTourOperationStart const PTZPresetTourOperationStart PTZPresetTourOperation = "Start" // PTZPresetTourOperationStop const PTZPresetTourOperationStop PTZPresetTourOperation = "Stop" // PTZPresetTourOperationPause const PTZPresetTourOperationPause PTZPresetTourOperation = "Pause" // PTZPresetTourOperationExtended const PTZPresetTourOperationExtended PTZPresetTourOperation = "Extended" )
type PTZPresetTourPresetDetail ¶
type PTZPresetTourPresetDetail struct { // Option to specify the preset position with Preset Token defined in advance. PresetToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl PresetToken,omitempty"` // Option to specify the preset position with the home position of this PTZ Node. "False" to this parameter shall be treated as an invalid argument. Home bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Home,omitempty"` // Option to specify the preset position with vector of PTZ node directly. PTZPosition PTZVector `xml:"http://www.onvif.org/ver10/schema PTZPosition,omitempty"` TypeExtension PTZPresetTourTypeExtension `xml:"http://www.onvif.org/ver10/schema TypeExtension,omitempty"` }
PTZPresetTourPresetDetail type
type PTZPresetTourPresetDetailOptions ¶
type PTZPresetTourPresetDetailOptions struct { // A list of available Preset Tokens for tour spots. PresetToken []ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl PresetToken,omitempty"` // An option to indicate Home postion for tour spots. Home bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Home,omitempty"` // Supported range of Pan and Tilt for tour spots. PanTiltPositionSpace Space2DDescription `xml:"http://www.onvif.org/ver10/schema PanTiltPositionSpace,omitempty"` // Supported range of Zoom for a tour spot. ZoomPositionSpace Space1DDescription `xml:"http://www.onvif.org/ver10/schema ZoomPositionSpace,omitempty"` Extension PTZPresetTourPresetDetailOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZPresetTourPresetDetailOptions type
type PTZPresetTourPresetDetailOptionsExtension ¶
type PTZPresetTourPresetDetailOptionsExtension struct { }
PTZPresetTourPresetDetailOptionsExtension type
type PTZPresetTourSpot ¶
type PTZPresetTourSpot struct { // Detail definition of preset position of the tour spot. PresetDetail PTZPresetTourPresetDetail `xml:"http://www.onvif.org/ver10/schema PresetDetail,omitempty"` // Optional parameter to specify Pan/Tilt and Zoom speed on moving toward this tour spot. Speed PTZSpeed `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` // Optional parameter to specify time duration of staying on this tour sport. StayTime Duration `xml:"http://www.onvif.org/ver10/schema StayTime,omitempty"` Extension PTZPresetTourSpotExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZPresetTourSpot type
type PTZPresetTourSpotExtension ¶
type PTZPresetTourSpotExtension struct { }
PTZPresetTourSpotExtension type
type PTZPresetTourStartingCondition ¶
type PTZPresetTourStartingCondition struct { // Optional parameter to specify how many times the preset tour is recurred. RecurringTime int32 `xml:"http://www.onvif.org/ver10/schema RecurringTime,omitempty"` // Optional parameter to specify how long time duration the preset tour is recurred. RecurringDuration Duration `xml:"http://www.onvif.org/ver10/schema RecurringDuration,omitempty"` // Optional parameter to choose which direction the preset tour goes. Forward shall be chosen in case it is omitted. Direction PTZPresetTourDirection `xml:"http://www.onvif.org/ver10/schema Direction,omitempty"` Extension PTZPresetTourStartingConditionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` RandomPresetOrder bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RandomPresetOrder,attr,omitempty"` }
PTZPresetTourStartingCondition type
type PTZPresetTourStartingConditionExtension ¶
type PTZPresetTourStartingConditionExtension struct { }
PTZPresetTourStartingConditionExtension type
type PTZPresetTourStartingConditionOptions ¶
type PTZPresetTourStartingConditionOptions struct { // Supported range of Recurring Time. RecurringTime IntRange `xml:"http://www.onvif.org/ver10/schema RecurringTime,omitempty"` // Supported range of Recurring Duration. RecurringDuration DurationRange `xml:"http://www.onvif.org/ver10/schema RecurringDuration,omitempty"` // Supported options for Direction of Preset Tour. Direction []PTZPresetTourDirection `xml:"http://www.onvif.org/ver10/schema Direction,omitempty"` Extension PTZPresetTourStartingConditionOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZPresetTourStartingConditionOptions type
type PTZPresetTourStartingConditionOptionsExtension ¶
type PTZPresetTourStartingConditionOptionsExtension struct { }
PTZPresetTourStartingConditionOptionsExtension type
type PTZPresetTourState ¶
type PTZPresetTourState string
PTZPresetTourState type
const ( // PTZPresetTourStateIdle const PTZPresetTourStateIdle PTZPresetTourState = "Idle" // PTZPresetTourStateTouring const PTZPresetTourStateTouring PTZPresetTourState = "Touring" // PTZPresetTourStatePaused const PTZPresetTourStatePaused PTZPresetTourState = "Paused" // PTZPresetTourStateExtended const PTZPresetTourStateExtended PTZPresetTourState = "Extended" )
type PTZPresetTourStatus ¶
type PTZPresetTourStatus struct { // Indicates state of this preset tour by Idle/Touring/Paused. State PTZPresetTourState `xml:"http://www.onvif.org/ver10/schema State,omitempty"` // Indicates a tour spot currently staying. CurrentTourSpot PTZPresetTourSpot `xml:"http://www.onvif.org/ver10/schema CurrentTourSpot,omitempty"` Extension PTZPresetTourStatusExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZPresetTourStatus type
type PTZPresetTourStatusExtension ¶
type PTZPresetTourStatusExtension struct { }
PTZPresetTourStatusExtension type
type PTZPresetTourSupported ¶
type PTZPresetTourSupported struct { // Indicates number of preset tours that can be created. Required preset tour operations shall be available for this PTZ Node if one or more preset tour is supported. MaximumNumberOfPresetTours int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfPresetTours,omitempty"` // Indicates which preset tour operations are available for this PTZ Node. PTZPresetTourOperation []PTZPresetTourOperation `xml:"http://www.onvif.org/ver10/schema PTZPresetTourOperation,omitempty"` Extension PTZPresetTourSupportedExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZPresetTourSupported type
type PTZPresetTourSupportedExtension ¶
type PTZPresetTourSupportedExtension struct { }
PTZPresetTourSupportedExtension type
type PTZPresetTourTypeExtension ¶
type PTZPresetTourTypeExtension struct { }
PTZPresetTourTypeExtension type
type PTZSpaces ¶
type PTZSpaces struct { // // The Generic Pan/Tilt Position space is provided by every PTZ node that supports absolute Pan/Tilt, since it does not relate to a specific physical range. // Instead, the range should be defined as the full range of the PTZ unit normalized to the range -1 to 1 resulting in the following space description. // AbsolutePanTiltPositionSpace []Space2DDescription `xml:"http://www.onvif.org/ver10/schema AbsolutePanTiltPositionSpace,omitempty"` // // The Generic Zoom Position Space is provided by every PTZ node that supports absolute Zoom, since it does not relate to a specific physical range. // Instead, the range should be defined as the full range of the Zoom normalized to the range 0 (wide) to 1 (tele). // There is no assumption about how the generic zoom range is mapped to magnification, FOV or other physical zoom dimension. // AbsoluteZoomPositionSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema AbsoluteZoomPositionSpace,omitempty"` // // The Generic Pan/Tilt translation space is provided by every PTZ node that supports relative Pan/Tilt, since it does not relate to a specific physical range. // Instead, the range should be defined as the full positive and negative translation range of the PTZ unit normalized to the range -1 to 1, // where positive translation would mean clockwise rotation or movement in right/up direction resulting in the following space description. // RelativePanTiltTranslationSpace []Space2DDescription `xml:"http://www.onvif.org/ver10/schema RelativePanTiltTranslationSpace,omitempty"` // // The Generic Zoom Translation Space is provided by every PTZ node that supports relative Zoom, since it does not relate to a specific physical range. // Instead, the corresponding absolute range should be defined as the full positive and negative translation range of the Zoom normalized to the range -1 to1, // where a positive translation maps to a movement in TELE direction. The translation is signed to indicate direction (negative is to wide, positive is to tele). // There is no assumption about how the generic zoom range is mapped to magnification, FOV or other physical zoom dimension. This results in the following space description. // RelativeZoomTranslationSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema RelativeZoomTranslationSpace,omitempty"` // // The generic Pan/Tilt velocity space shall be provided by every PTZ node, since it does not relate to a specific physical range. // Instead, the range should be defined as a range of the PTZ unit’s speed normalized to the range -1 to 1, where a positive velocity would map to clockwise // rotation or movement in the right/up direction. A signed speed can be independently specified for the pan and tilt component resulting in the following space description. // ContinuousPanTiltVelocitySpace []Space2DDescription `xml:"http://www.onvif.org/ver10/schema ContinuousPanTiltVelocitySpace,omitempty"` // // The generic zoom velocity space specifies a zoom factor velocity without knowing the underlying physical model. The range should be normalized from -1 to 1, // where a positive velocity would map to TELE direction. A generic zoom velocity space description resembles the following. // ContinuousZoomVelocitySpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema ContinuousZoomVelocitySpace,omitempty"` // // The speed space specifies the speed for a Pan/Tilt movement when moving to an absolute position or to a relative translation. // In contrast to the velocity spaces, speed spaces do not contain any directional information. The speed of a combined Pan/Tilt // movement is represented by a single non-negative scalar value. // PanTiltSpeedSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema PanTiltSpeedSpace,omitempty"` // // The speed space specifies the speed for a Zoom movement when moving to an absolute position or to a relative translation. // In contrast to the velocity spaces, speed spaces do not contain any directional information. // ZoomSpeedSpace []Space1DDescription `xml:"http://www.onvif.org/ver10/schema ZoomSpeedSpace,omitempty"` Extension PTZSpacesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZSpaces type
type PTZSpeed ¶
type PTZSpeed struct { // Pan and tilt speed. The x component corresponds to pan and the y component to tilt. If omitted in a request, the current (if any) PanTilt movement should not be affected. PanTilt Vector2D `xml:"http://www.onvif.org/ver10/schema PanTilt,omitempty"` // // A zoom speed. If omitted in a request, the current (if any) Zoom movement should not be affected. // Zoom Vector1D `xml:"http://www.onvif.org/ver10/schema Zoom,omitempty"` }
PTZSpeed type
type PTZStatus ¶
type PTZStatus struct { // // Specifies the absolute position of the PTZ unit together with the Space references. The default absolute spaces of the corresponding PTZ configuration MUST be referenced within the Position element. // Position PTZVector `xml:"http://www.onvif.org/ver10/schema Position,omitempty"` // // Indicates if the Pan/Tilt/Zoom device unit is currently moving, idle or in an unknown state. // MoveStatus PTZMoveStatus `xml:"http://www.onvif.org/ver10/schema MoveStatus,omitempty"` // // States a current PTZ error. // Error string `xml:"http://www.onvif.org/ver20/imaging/wsdl Error,omitempty"` // // Specifies the UTC time when this status was generated. // UtcTime string `xml:"http://www.onvif.org/ver10/schema UtcTime,omitempty"` }
PTZStatus type
type PTZStatusFilterOptions ¶
type PTZStatusFilterOptions struct { // True if the device is able to stream pan or tilt status information. PanTiltStatusSupported bool `xml:"http://www.onvif.org/ver20/imaging/wsdl PanTiltStatusSupported,omitempty"` // True if the device is able to stream zoom status inforamtion. ZoomStatusSupported bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ZoomStatusSupported,omitempty"` // True if the device is able to stream the pan or tilt position. PanTiltPositionSupported bool `xml:"http://www.onvif.org/ver20/imaging/wsdl PanTiltPositionSupported,omitempty"` // True if the device is able to stream zoom position information. ZoomPositionSupported bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ZoomPositionSupported,omitempty"` Extension PTZStatusFilterOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PTZStatusFilterOptions type
type PTZStatusFilterOptionsExtension ¶
type PTZStatusFilterOptionsExtension struct { }
PTZStatusFilterOptionsExtension type
type PTZVector ¶
type PTZVector struct { // Pan and tilt position. The x component corresponds to pan and the y component to tilt. PanTilt Vector2D `xml:"http://www.onvif.org/ver10/schema PanTilt,omitempty"` // // A zoom position. // Zoom Vector1D `xml:"http://www.onvif.org/ver10/schema Zoom,omitempty"` }
PTZVector type
type PanTiltLimits ¶
type PanTiltLimits struct { // // A range of pan tilt limits. // Range Space2DDescription `xml:"http://www.onvif.org/ver10/schema Range,omitempty"` }
PanTiltLimits type
type PaneLayout ¶
type PaneLayout struct { // Reference to the configuration of the streaming and coding parameters. Pane ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl Pane,omitempty"` // Describes the location and size of the area on the monitor. The area coordinate values are espressed in normalized units [-1.0, 1.0]. Area Rectangle `xml:"http://www.onvif.org/ver10/schema Area,omitempty"` }
PaneLayout type
type PaneLayoutOptions ¶
type PaneLayoutOptions struct { // List of areas assembling a layout. Coordinate values are in the range [-1.0, 1.0]. Area []Rectangle `xml:"http://www.onvif.org/ver10/schema Area,omitempty"` Extension PaneOptionExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PaneLayoutOptions type
type PauseFailedFaultType ¶
type PauseFailedFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 PauseFailedFault"` *BaseFaultType }
PauseFailedFaultType type
type Polygon ¶
type Polygon struct {
Point []Vector `xml:"http://www.onvif.org/ver10/schema Point,omitempty"`
}
Polygon type
type Polyline ¶
type Polyline struct {
Point []Vector `xml:"http://www.onvif.org/ver10/schema Point,omitempty"`
}
Polyline type
type PolylineArray ¶
type PolylineArray struct { // Contains array of Polyline Segment []Polyline `xml:"http://www.onvif.org/ver10/schema Segment,omitempty"` Extension PolylineArrayExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
PolylineArray type
type PrefixedIPv4Address ¶
type PrefixedIPv4Address struct { // IPv4 address Address IPv4Address `xml:"http://www.onvif.org/ver10/schema Address,omitempty"` // Prefix/submask length PrefixLength int32 `xml:"http://www.onvif.org/ver10/schema PrefixLength,omitempty"` }
PrefixedIPv4Address type
type PrefixedIPv6Address ¶
type PrefixedIPv6Address struct { // IPv6 address Address IPv6Address `xml:"http://www.onvif.org/ver10/schema Address,omitempty"` // Prefix/submask length PrefixLength int32 `xml:"http://www.onvif.org/ver10/schema PrefixLength,omitempty"` }
PrefixedIPv6Address type
type ProblemActionType ¶
type ProblemActionType struct { XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing ProblemAction"` Action Action `xml:"Action,omitempty"` SoapAction AnyURI `xml:"http://www.onvif.org/ver10/schema SoapAction,omitempty"` }
ProblemActionType type
type Profile ¶
type Profile struct { // User readable name of the profile. Name Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` // Optional configuration of the Video input. VideoSourceConfiguration VideoSourceConfiguration `xml:"http://www.onvif.org/ver10/schema VideoSourceConfiguration,omitempty"` // Optional configuration of the Audio input. AudioSourceConfiguration AudioSourceConfiguration `xml:"http://www.onvif.org/ver10/schema AudioSourceConfiguration,omitempty"` // Optional configuration of the Video encoder. VideoEncoderConfiguration VideoEncoderConfiguration `xml:"http://www.onvif.org/ver10/schema VideoEncoderConfiguration,omitempty"` // Optional configuration of the Audio encoder. AudioEncoderConfiguration AudioEncoderConfiguration `xml:"http://www.onvif.org/ver10/schema AudioEncoderConfiguration,omitempty"` // Optional configuration of the video analytics module and rule engine. VideoAnalyticsConfiguration VideoAnalyticsConfiguration `xml:"http://www.onvif.org/ver10/schema VideoAnalyticsConfiguration,omitempty"` // Optional configuration of the pan tilt zoom unit. PTZConfiguration PTZConfiguration `xml:"http://www.onvif.org/ver10/schema PTZConfiguration,omitempty"` // Optional configuration of the metadata stream. MetadataConfiguration MetadataConfiguration `xml:"http://www.onvif.org/ver10/schema MetadataConfiguration,omitempty"` // Extensions defined in ONVIF 2.0 Extension ProfileExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` Token ReferenceToken `xml:"token,attr,omitempty"` Fixed bool `xml:"fixed,attr,omitempty"` }
Profile type
type ProfileCapabilities ¶
type ProfileCapabilities struct { // Maximum number of profiles. MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfProfiles,omitempty"` }
ProfileCapabilities type
type ProfileExtension ¶
type ProfileExtension struct { // Optional configuration of the Audio output. AudioOutputConfiguration AudioOutputConfiguration `xml:"http://www.onvif.org/ver10/schema AudioOutputConfiguration,omitempty"` // Optional configuration of the Audio decoder. AudioDecoderConfiguration AudioDecoderConfiguration `xml:"http://www.onvif.org/ver10/schema AudioDecoderConfiguration,omitempty"` Extension ProfileExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ProfileExtension type
type ProfileStatus ¶
type ProfileStatus struct { ActiveConnections []ActiveConnection `xml:"http://www.onvif.org/ver10/schema ActiveConnections,omitempty"` Extension ProfileStatusExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ProfileStatus type
type PropertyOperation ¶
type PropertyOperation string
PropertyOperation type
const ( // PropertyOperationInitialized const PropertyOperationInitialized PropertyOperation = "Initialized" // PropertyOperationDeleted const PropertyOperationDeleted PropertyOperation = "Deleted" // PropertyOperationChanged const PropertyOperationChanged PropertyOperation = "Changed" )
type QueryExpressionType ¶
type QueryExpressionType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/t-1 ProducerProperties"` Dialect AnyURI `xml:"http://www.onvif.org/ver10/schema Dialect,attr,omitempty"` }
QueryExpressionType type
type RealTimeStreamingCapabilities ¶
type RealTimeStreamingCapabilities struct { // Indicates whether or not RTP multicast is supported. RTPMulticast bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RTPMulticast,omitempty"` // Indicates whether or not RTP over TCP is supported. RTP_TCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RTP_TCP,omitempty"` // Indicates whether or not RTP/RTSP/TCP is supported. RTP_RTSP_TCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RTP_RTSP_TCP,omitempty"` Extension RealTimeStreamingCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
RealTimeStreamingCapabilities type
type RealTimeStreamingCapabilitiesExtension ¶
type RealTimeStreamingCapabilitiesExtension struct { }
RealTimeStreamingCapabilitiesExtension type
type Reasontext ¶
type Reasontext struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope reasontext"` Value string // contains filtered or unexported fields }
Reasontext type
type Receiver ¶
type Receiver struct { // Unique identifier of the receiver. Token ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl Token,omitempty"` // Describes the configuration of the receiver. Configuration ReceiverConfiguration `xml:"http://www.onvif.org/ver10/schema Configuration,omitempty"` }
Receiver type
type ReceiverCapabilities ¶
type ReceiverCapabilities struct { // The address of the receiver service. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` // Indicates whether the device can receive RTP multicast streams. RTP_Multicast bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RTP_Multicast,omitempty"` // Indicates whether the device can receive RTP/TCP streams RTP_TCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RTP_TCP,omitempty"` // Indicates whether the device can receive RTP/RTSP/TCP streams. RTP_RTSP_TCP bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RTP_RTSP_TCP,omitempty"` // The maximum number of receivers supported by the device. SupportedReceivers int32 `xml:"http://www.onvif.org/ver10/schema SupportedReceivers,omitempty"` // The maximum allowed length for RTSP URIs. MaximumRTSPURILength int32 `xml:"http://www.onvif.org/ver10/schema MaximumRTSPURILength,omitempty"` }
ReceiverCapabilities type
type ReceiverConfiguration ¶
type ReceiverConfiguration struct { // The following connection modes are defined: Mode ReceiverMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Details of the URI to which the receiver should connect. MediaUri AnyURI `xml:"http://www.onvif.org/ver10/schema MediaUri,omitempty"` // Stream connection parameters. StreamSetup StreamSetup `xml:"http://www.onvif.org/ver10/schema StreamSetup,omitempty"` }
ReceiverConfiguration type
type ReceiverMode ¶
type ReceiverMode string
ReceiverMode type
const ( // The receiver connects on demand, as required by consumers of the media streams. // ReceiverModeAutoConnect const ReceiverModeAutoConnect ReceiverMode = "AutoConnect" // The receiver attempts to maintain a persistent connection to the configured endpoint. // ReceiverModeAlwaysConnect const ReceiverModeAlwaysConnect ReceiverMode = "AlwaysConnect" // The receiver does not attempt to connect. // ReceiverModeNeverConnect const ReceiverModeNeverConnect ReceiverMode = "NeverConnect" // This case should never happen. // ReceiverModeUnknown const ReceiverModeUnknown ReceiverMode = "Unknown" )
type ReceiverState ¶
type ReceiverState string
ReceiverState type
const ( // The receiver is not connected. // ReceiverStateNotConnected const ReceiverStateNotConnected ReceiverState = "NotConnected" // The receiver is attempting to connect. // ReceiverStateConnecting const ReceiverStateConnecting ReceiverState = "Connecting" // The receiver is connected. // ReceiverStateConnected const ReceiverStateConnected ReceiverState = "Connected" // This case should never happen. // ReceiverStateUnknown const ReceiverStateUnknown ReceiverState = "Unknown" )
type RecordingCapabilities ¶
type RecordingCapabilities struct { XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` ReceiverSource bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ReceiverSource,omitempty"` MediaProfileSource bool `xml:"http://www.onvif.org/ver20/imaging/wsdl MediaProfileSource,omitempty"` DynamicRecordings bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DynamicRecordings,omitempty"` DynamicTracks bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DynamicTracks,omitempty"` MaxStringLength int32 `xml:"http://www.onvif.org/ver10/schema MaxStringLength,omitempty"` }
RecordingCapabilities type
type RecordingJobConfiguration ¶
type RecordingJobConfiguration struct { // Identifies the recording to which this job shall store the received data. RecordingToken RecordingReference `xml:"http://www.onvif.org/ver10/schema RecordingToken,omitempty"` // The mode of the job. If it is idle, nothing shall happen. If it is active, the device shall try // to obtain data from the receivers. A client shall use GetRecordingJobState to determine if data transfer is really taking place. // The only valid values for Mode shall be “Idle” and “Active”. Mode RecordingJobMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // This shall be a non-negative number. If there are multiple recording jobs that store data to // the same track, the device will only store the data for the recording job with the highest // priority. The priority is specified per recording job, but the device shall determine the priority // of each track individually. If there are two recording jobs with the same priority, the device // shall record the data corresponding to the recording job that was activated the latest. Priority int32 `xml:"http://www.onvif.org/ver10/schema Priority,omitempty"` // Source of the recording. Source []RecordingJobSource `xml:"http://www.onvif.org/ver10/schema Source,omitempty"` Extension RecordingJobConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` ScheduleToken string `xml:"http://www.onvif.org/ver20/imaging/wsdl ScheduleToken,attr,omitempty"` }
RecordingJobConfiguration type
type RecordingJobConfigurationExtension ¶
type RecordingJobConfigurationExtension struct { }
RecordingJobConfigurationExtension type
type RecordingJobSource ¶
type RecordingJobSource struct { // This field shall be a reference to the source of the data. The type of the source // is determined by the attribute Type in the SourceToken structure. If Type is // http://www.onvif.org/ver10/schema/Receiver, the token is a ReceiverReference. In this case // the device shall receive the data over the network. If Type is // http://www.onvif.org/ver10/schema/Profile, the token identifies a media profile, instructing the // device to obtain data from a profile that exists on the local device. SourceToken SourceReference `xml:"http://www.onvif.org/ver10/schema SourceToken,omitempty"` // If this field is TRUE, and if the SourceToken is omitted, the device // shall create a receiver object (through the receiver service) and assign the // ReceiverReference to the SourceToken field. When retrieving the RecordingJobConfiguration // from the device, the AutoCreateReceiver field shall never be present. AutoCreateReceiver bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AutoCreateReceiver,omitempty"` // List of tracks associated with the recording. Tracks []RecordingJobTrack `xml:"http://www.onvif.org/ver10/schema Tracks,omitempty"` Extension RecordingJobSourceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
RecordingJobSource type
type RecordingJobSourceExtension ¶
type RecordingJobSourceExtension struct { }
RecordingJobSourceExtension type
type RecordingJobStateInformation ¶
type RecordingJobStateInformation struct { // Identification of the recording that the recording job records to. RecordingToken RecordingReference `xml:"http://www.onvif.org/ver10/schema RecordingToken,omitempty"` // Holds the aggregated state over the whole RecordingJobInformation structure. State RecordingJobState `xml:"http://www.onvif.org/ver10/schema State,omitempty"` // Identifies the data source of the recording job. Sources []RecordingJobStateSource `xml:"http://www.onvif.org/ver10/schema Sources,omitempty"` Extension RecordingJobStateInformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
RecordingJobStateInformation type
type RecordingJobStateInformationExtension ¶
type RecordingJobStateInformationExtension struct { }
RecordingJobStateInformationExtension type
type RecordingJobStateSource ¶
type RecordingJobStateSource struct { // Identifies the data source of the recording job. SourceToken SourceReference `xml:"http://www.onvif.org/ver10/schema SourceToken,omitempty"` // Holds the aggregated state over all substructures of RecordingJobStateSource. State RecordingJobState `xml:"http://www.onvif.org/ver10/schema State,omitempty"` // List of track items. Tracks RecordingJobStateTracks `xml:"http://www.onvif.org/ver10/schema Tracks,omitempty"` }
RecordingJobStateSource type
type RecordingJobStateTrack ¶
type RecordingJobStateTrack struct { // Identifies the track of the data source that provides the data. SourceTag string `xml:"http://www.onvif.org/ver20/imaging/wsdl SourceTag,omitempty"` // Indicates the destination track. Destination TrackReference `xml:"http://www.onvif.org/ver10/schema Destination,omitempty"` // Optionally holds an implementation defined string value that describes the error. // The string should be in the English language. Error string `xml:"http://www.onvif.org/ver20/imaging/wsdl Error,omitempty"` // Provides the job state of the track. The valid // values of state shall be “Idle”, “Active” and “Error”. If state equals “Error”, the Error field may be filled in with an implementation defined value. State RecordingJobState `xml:"http://www.onvif.org/ver10/schema State,omitempty"` }
RecordingJobStateTrack type
type RecordingJobStateTracks ¶
type RecordingJobStateTracks struct {
Track []RecordingJobStateTrack `xml:"http://www.onvif.org/ver10/schema Track,omitempty"`
}
RecordingJobStateTracks type
type RecordingJobTrack ¶
type RecordingJobTrack struct { // If the received RTSP stream contains multiple tracks of the same type, the // SourceTag differentiates between those Tracks. This field can be ignored in case of recording a local source. SourceTag string `xml:"http://www.onvif.org/ver20/imaging/wsdl SourceTag,omitempty"` // The destination is the tracktoken of the track to which the device shall store the // received data. Destination TrackReference `xml:"http://www.onvif.org/ver10/schema Destination,omitempty"` }
RecordingJobTrack type
type RecordingSourceInformation ¶
type RecordingSourceInformation struct { // // Identifier for the source chosen by the client that creates the structure. // This identifier is opaque to the device. Clients may use any type of URI for this field. A device shall support at least 128 characters. SourceId AnyURI `xml:"http://www.onvif.org/ver10/schema SourceId,omitempty"` // Informative user readable name of the source, e.g. "Camera23". A device shall support at least 20 characters. Name Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` // Informative description of the physical location of the source, e.g. the coordinates on a map. Location Description `xml:"http://www.onvif.org/ver10/schema Location,omitempty"` // Informative description of the source. Description Description `xml:"http://www.onvif.org/ver10/schema Description,omitempty"` // URI provided by the service supplying data to be recorded. A device shall support at least 128 characters. Address AnyURI `xml:"http://www.onvif.org/ver10/schema Address,omitempty"` }
RecordingSourceInformation type
type RecordingStatus ¶
type RecordingStatus string
RecordingStatus type
const ( // RecordingStatusInitiated const RecordingStatusInitiated RecordingStatus = "Initiated" // RecordingStatusRecording const RecordingStatusRecording RecordingStatus = "Recording" // RecordingStatusStopped const RecordingStatusStopped RecordingStatus = "Stopped" // RecordingStatusRemoving const RecordingStatusRemoving RecordingStatus = "Removing" // RecordingStatusRemoved const RecordingStatusRemoved RecordingStatus = "Removed" // This case should never happen. // RecordingStatusUnknown const RecordingStatusUnknown RecordingStatus = "Unknown" )
type Rectangle ¶
type Rectangle struct { Bottom float32 `xml:"bottom,attr,omitempty"` Top float32 `xml:"top,attr,omitempty"` Right float32 `xml:"right,attr,omitempty"` Left float32 `xml:"left,attr,omitempty"` }
Rectangle type
type RelatesToType ¶
type RelatesToType struct { XMLName xml.Name `xml:"http://www.w3.org/2005/08/addressing RelatesTo"` Value AnyURI RelationshipType RelationshipTypeOpenEnum `xml:"RelationshipType,attr,omitempty"` }
RelatesToType type
type RelationshipType ¶
type RelationshipType AnyURI
RelationshipType type
const ( // RelationshipTypeHttpwwww3org200508addressingreply const RelationshipTypeHttpwwww3org200508addressingreply RelationshipType = "http://www.w3.org/2005/08/addressing/reply" )
type RelativeFocus ¶
type RelativeFocus struct { // // Distance parameter for the relative focus control. // Distance float32 `xml:"http://www.onvif.org/ver10/schema Distance,omitempty"` // // Speed parameter for the relative focus control. // Speed float32 `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
RelativeFocus type
type RelativeFocusOptions ¶
type RelativeFocusOptions struct { // // Valid ranges of the distance. // Distance FloatRange `xml:"http://www.onvif.org/ver10/schema Distance,omitempty"` // // Valid ranges of the speed. // Speed FloatRange `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
RelativeFocusOptions type
type RelativeFocusOptions20 ¶
type RelativeFocusOptions20 struct { // // Valid ranges of the distance. // Distance FloatRange `xml:"http://www.onvif.org/ver10/schema Distance,omitempty"` // // Valid ranges of the speed. // Speed FloatRange `xml:"http://www.onvif.org/ver10/schema Speed,omitempty"` }
RelativeFocusOptions20 type
type RelayIdleState ¶
type RelayIdleState string
RelayIdleState type
const ( // RelayIdleStateClosed const RelayIdleStateClosed RelayIdleState = "closed" // RelayIdleStateOpen const RelayIdleStateOpen RelayIdleState = "open" )
type RelayLogicalState ¶
type RelayLogicalState string
RelayLogicalState type
const ( // RelayLogicalStateActive const RelayLogicalStateActive RelayLogicalState = "active" // RelayLogicalStateInactive const RelayLogicalStateInactive RelayLogicalState = "inactive" )
type RelayOutput ¶
type RelayOutput struct { *DeviceEntity Properties RelayOutputSettings `xml:"http://www.onvif.org/ver10/schema Properties,omitempty"` }
RelayOutput type
type RelayOutputSettings ¶
type RelayOutputSettings struct { // // 'Bistable' or 'Monostable' // // Mode RelayMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Time after which the relay returns to its idle state if it is in monostable mode. If the Mode field is set to bistable mode the value of the parameter can be ignored. DelayTime Duration `xml:"http://www.onvif.org/ver10/schema DelayTime,omitempty"` // // 'open' or 'closed' // // IdleState RelayIdleState `xml:"http://www.onvif.org/ver10/schema IdleState,omitempty"` }
RelayOutputSettings type
type ReplayCapabilities ¶
type ReplayCapabilities struct { // The address of the replay service. XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` }
ReplayCapabilities type
type ResumeFailedFaultType ¶
type ResumeFailedFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 ResumeFailedFault"` *BaseFaultType }
ResumeFailedFaultType type
type Reverse ¶
type Reverse struct { // Parameter to enable/disable Reverse feature. Mode ReverseMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` }
Reverse type
type ReverseMode ¶
type ReverseMode string
ReverseMode type
const ( // ReverseModeOFF const ReverseModeOFF ReverseMode = "OFF" // ReverseModeON const ReverseModeON ReverseMode = "ON" // ReverseModeAUTO const ReverseModeAUTO ReverseMode = "AUTO" // ReverseModeExtended const ReverseModeExtended ReverseMode = "Extended" )
type ReverseOptions ¶
type ReverseOptions struct { // Options of Reverse mode parameter. Mode []ReverseMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Extension ReverseOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ReverseOptions type
type Rotate ¶
type Rotate struct { // Parameter to enable/disable Rotation feature. Mode RotateMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Optional parameter to configure how much degree of clockwise rotation of image for On mode. Omitting this parameter for On mode means 180 degree rotation. Degree int32 `xml:"http://www.onvif.org/ver10/schema Degree,omitempty"` Extension RotateExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Rotate type
type RotateMode ¶
type RotateMode string
RotateMode type
const ( // Enable the Rotate feature. Degree of rotation is specified Degree parameter. // RotateModeOFF const RotateModeOFF RotateMode = "OFF" // Disable the Rotate feature. // RotateModeON const RotateModeON RotateMode = "ON" // Rotate feature is automatically activated by the device. // RotateModeAUTO const RotateModeAUTO RotateMode = "AUTO" )
type RotateOptions ¶
type RotateOptions struct { // Supported options of Rotate mode parameter. Mode []RotateMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // List of supported degree value for rotation. DegreeList IntList `xml:"http://www.onvif.org/ver10/schema DegreeList,omitempty"` Extension RotateOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` Reboot bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Reboot,attr,omitempty"` }
RotateOptions type
type RuleEngineConfiguration ¶
type RuleEngineConfiguration struct { Rule []Config `xml:"http://www.onvif.org/ver10/schema Rule,omitempty"` Extension RuleEngineConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
RuleEngineConfiguration type
type RuleEngineConfigurationExtension ¶
type RuleEngineConfigurationExtension struct { }
RuleEngineConfigurationExtension type
type SceneOrientation ¶
type SceneOrientation struct { // // Parameter to assign the way the camera determines the scene orientation. // Mode SceneOrientationMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // Assigned or determined scene orientation based on the Mode. When assigning the Mode to AUTO, this field // is optional and will be ignored by the device. When assigning the Mode to MANUAL, this field is required // and the device will return an InvalidArgs fault if missing. // Orientation string `xml:"http://www.onvif.org/ver20/imaging/wsdl Orientation,omitempty"` }
SceneOrientation type
type SceneOrientationMode ¶
type SceneOrientationMode string
SceneOrientationMode type
const ( // SceneOrientationModeMANUAL const SceneOrientationModeMANUAL SceneOrientationMode = "MANUAL" // SceneOrientationModeAUTO const SceneOrientationModeAUTO SceneOrientationMode = "AUTO" )
type SceneOrientationOption ¶
type SceneOrientationOption string
SceneOrientationOption type
const ( // SceneOrientationOptionBelow const SceneOrientationOptionBelow SceneOrientationOption = "Below" // SceneOrientationOptionHorizon const SceneOrientationOptionHorizon SceneOrientationOption = "Horizon" // SceneOrientationOptionAbove const SceneOrientationOptionAbove SceneOrientationOption = "Above" )
type Scope ¶
type Scope struct { // Indicates if the scope is fixed or configurable. ScopeDef ScopeDefinition `xml:"http://www.onvif.org/ver10/schema ScopeDef,omitempty"` // Scope item URI. ScopeItem AnyURI `xml:"http://www.onvif.org/ver10/schema ScopeItem,omitempty"` }
Scope type
type ScopeDefinition ¶
type ScopeDefinition string
ScopeDefinition type
const ( // ScopeDefinitionFixed const ScopeDefinitionFixed ScopeDefinition = "Fixed" // ScopeDefinitionConfigurable const ScopeDefinitionConfigurable ScopeDefinition = "Configurable" )
type SearchCapabilities ¶
type SearchCapabilities struct { XAddr AnyURI `xml:"http://www.onvif.org/ver10/schema XAddr,omitempty"` MetadataSearch bool `xml:"http://www.onvif.org/ver20/imaging/wsdl MetadataSearch,omitempty"` }
SearchCapabilities type
type SearchScope ¶
type SearchScope struct { // A list of sources that are included in the scope. If this list is included, only data from one of these sources shall be searched. IncludedSources []SourceReference `xml:"http://www.onvif.org/ver10/schema IncludedSources,omitempty"` // A list of recordings that are included in the scope. If this list is included, only data from one of these recordings shall be searched. IncludedRecordings []RecordingReference `xml:"http://www.onvif.org/ver10/schema IncludedRecordings,omitempty"` // An xpath expression used to specify what recordings to search. Only those recordings with an RecordingInformation structure that matches the filter shall be searched. RecordingInformationFilter XPathExpression `xml:"http://www.onvif.org/ver10/schema RecordingInformationFilter,omitempty"` // Extension point Extension SearchScopeExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SearchScope type
type SearchState ¶
type SearchState string
SearchState type
const ( // The search is queued and not yet started. // SearchStateQueued const SearchStateQueued SearchState = "Queued" // The search is underway and not yet completed. // SearchStateSearching const SearchStateSearching SearchState = "Searching" // The search has been completed and no new results will be found. // SearchStateCompleted const SearchStateCompleted SearchState = "Completed" // The state of the search is unknown. (This is not a valid response from GetSearchState.) // SearchStateUnknown const SearchStateUnknown SearchState = "Unknown" )
type SecurityCapabilities ¶
type SecurityCapabilities struct { // Indicates whether or not TLS 1.1 is supported. TLS11 bool `xml:"TLS1.1,omitempty"` // Indicates whether or not TLS 1.2 is supported. TLS12 bool `xml:"TLS1.2,omitempty"` // Indicates whether or not onboard key generation is supported. OnboardKeyGeneration bool `xml:"http://www.onvif.org/ver20/imaging/wsdl OnboardKeyGeneration,omitempty"` // Indicates whether or not access policy configuration is supported. AccessPolicyConfig bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AccessPolicyConfig,omitempty"` // Indicates whether or not WS-Security X.509 token is supported. X509Token bool `xml:"X.509Token,omitempty"` // Indicates whether or not WS-Security SAML token is supported. SAMLToken bool `xml:"http://www.onvif.org/ver20/imaging/wsdl SAMLToken,omitempty"` // Indicates whether or not WS-Security Kerberos token is supported. KerberosToken bool `xml:"http://www.onvif.org/ver20/imaging/wsdl KerberosToken,omitempty"` // Indicates whether or not WS-Security REL token is supported. RELToken bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RELToken,omitempty"` Extension SecurityCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SecurityCapabilities type
type SecurityCapabilitiesExtension ¶
type SecurityCapabilitiesExtension struct { TLS10 bool `xml:"TLS1.0,omitempty"` Extension SecurityCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SecurityCapabilitiesExtension type
type SecurityCapabilitiesExtension2 ¶
type SecurityCapabilitiesExtension2 struct { Dot1X bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Dot1X,omitempty"` // EAP Methods supported by the device. The int values refer to the . SupportedEAPMethod []int32 `xml:"http://www.onvif.org/ver10/schema SupportedEAPMethod,omitempty"` RemoteUserHandling bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RemoteUserHandling,omitempty"` }
SecurityCapabilitiesExtension2 type
type SetCurrentPreset ¶
type SetCurrentPreset struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl SetCurrentPreset"` // // Reference token to the VideoSource to which the specified Imaging Preset should be applied. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` // Reference token to the Imaging Preset to be applied to the specified Video Source. PresetToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl PresetToken,omitempty"` }
SetCurrentPreset type
type SetCurrentPresetResponse ¶
SetCurrentPresetResponse type
type SetDateTimeType ¶
type SetDateTimeType string
SetDateTimeType type
const ( // Indicates that the date and time are set manually. // SetDateTimeTypeManual const SetDateTimeTypeManual SetDateTimeType = "Manual" // Indicates that the date and time are set through NTP // SetDateTimeTypeNTP const SetDateTimeTypeNTP SetDateTimeType = "NTP" )
type SetImagingSettings ¶
type SetImagingSettings struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl SetImagingSettings"` VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` ImagingSettings ImagingSettings20 `xml:"http://www.onvif.org/ver20/imaging/wsdl ImagingSettings,omitempty"` ForcePersistence bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ForcePersistence,omitempty"` }
SetImagingSettings type
type SetImagingSettingsResponse ¶
SetImagingSettingsResponse type
type SourceIdentification ¶
type SourceIdentification struct { Name string `xml:"http://www.onvif.org/ver20/imaging/wsdl Name,omitempty"` Token []ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl Token,omitempty"` Extension SourceIdentificationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SourceIdentification type
type SourceIdentificationExtension ¶
type SourceIdentificationExtension struct { }
SourceIdentificationExtension type
type SourceReference ¶
type SourceReference struct { Token ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl Token,omitempty"` Type AnyURI `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty"` }
SourceReference type
type Space1DDescription ¶
type Space1DDescription struct { // // A URI of coordinate systems. // URI AnyURI `xml:"http://www.onvif.org/ver10/schema URI,omitempty"` // // A range of x-axis. // XRange FloatRange `xml:"http://www.onvif.org/ver10/schema XRange,omitempty"` }
Space1DDescription type
type Space2DDescription ¶
type Space2DDescription struct { // // A URI of coordinate systems. // URI AnyURI `xml:"http://www.onvif.org/ver10/schema URI,omitempty"` // // A range of x-axis. // XRange FloatRange `xml:"http://www.onvif.org/ver10/schema XRange,omitempty"` // // A range of y-axis. // YRange FloatRange `xml:"http://www.onvif.org/ver10/schema YRange,omitempty"` }
Space2DDescription type
type Stop ¶
type Stop struct { XMLName xml.Name `xml:"http://www.onvif.org/ver20/imaging/wsdl Stop"` // // Reference token to the VideoSource where the focus movement should be stopped. // VideoSourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceToken,omitempty"` }
Stop type
type StopResponse ¶
StopResponse type
type StorageReferencePath ¶
type StorageReferencePath struct { // identifier of an existing Storage Configuration. StorageToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl StorageToken,omitempty"` // gives the relative directory path on the storage RelativePath string `xml:"http://www.onvif.org/ver20/imaging/wsdl RelativePath,omitempty"` Extension StorageReferencePathExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
StorageReferencePath type
type StorageReferencePathExtension ¶
type StorageReferencePathExtension struct { }
StorageReferencePathExtension type
type StreamSetup ¶
type StreamSetup struct { // Defines if a multicast or unicast stream is requested Stream StreamType `xml:"http://www.onvif.org/ver10/schema Stream,omitempty"` Transport Transport `xml:"http://www.onvif.org/ver10/schema Transport,omitempty"` }
StreamSetup type
type StreamType ¶
type StreamType string
StreamType type
const ( // StreamTypeRTPUnicast const StreamTypeRTPUnicast StreamType = "RTP-Unicast" // StreamTypeRTPMulticast const StreamTypeRTPMulticast StreamType = "RTP-Multicast" )
type Subcode ¶
type Subcode struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope subcode"` Value QName `xml:"http://www.onvif.org/ver10/schema Value,omitempty"` Subcode *Subcode `xml:"Subcode,omitempty"` }
Subcode type
type Subscribe ¶
type Subscribe struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 Subscribe"` ConsumerReference EndpointReferenceType `xml:"ConsumerReference,omitempty"` Filter FilterType `xml:"Filter,omitempty"` InitialTerminationTime AbsoluteOrRelativeTimeType `xml:"InitialTerminationTime,omitempty"` SubscriptionPolicy struct { } `xml:"SubscriptionPolicy,omitempty"` }
Subscribe type
type SubscribeCreationFailedFault ¶
type SubscribeCreationFailedFault SubscribeCreationFailedFaultType
SubscribeCreationFailedFault type
type SubscribeCreationFailedFaultType ¶
type SubscribeCreationFailedFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 SubscribeCreationFailedFault"` *BaseFaultType }
SubscribeCreationFailedFaultType type
type SubscriptionPolicyType ¶
type SubscriptionPolicyType struct {
XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 SubscriptionPolicy"`
}
SubscriptionPolicyType type
type SubscriptionReference ¶
type SubscriptionReference EndpointReferenceType
SubscriptionReference type
type SupportedAnalyticsModules ¶
type SupportedAnalyticsModules struct { // It optionally contains a list of URLs that provide the location of schema files. // These schema files describe the types and elements used in the analytics module descriptions. // Analytics module descriptions that reference types or elements imported from any ONVIF defined schema files // need not explicitly list those schema files. AnalyticsModuleContentSchemaLocation []AnyURI `xml:"http://www.onvif.org/ver10/schema AnalyticsModuleContentSchemaLocation,omitempty"` AnalyticsModuleDescription []ConfigDescription `xml:"http://www.onvif.org/ver10/schema AnalyticsModuleDescription,omitempty"` Extension SupportedAnalyticsModulesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SupportedAnalyticsModules type
type SupportedAnalyticsModulesExtension ¶
type SupportedAnalyticsModulesExtension struct { }
SupportedAnalyticsModulesExtension type
type SupportedEnvType ¶
type SupportedEnvType struct {
Qname QName `xml:"qname,attr,omitempty"`
}
SupportedEnvType type
type SupportedRules ¶
type SupportedRules struct { // Lists the location of all schemas that are referenced in the rules. RuleContentSchemaLocation []AnyURI `xml:"http://www.onvif.org/ver10/schema RuleContentSchemaLocation,omitempty"` // List of rules supported by the Video Analytics configuration.. RuleDescription []ConfigDescription `xml:"http://www.onvif.org/ver10/schema RuleDescription,omitempty"` Extension SupportedRulesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SupportedRules type
type SystemCapabilities ¶
type SystemCapabilities struct { // Indicates whether or not WS Discovery resolve requests are supported. DiscoveryResolve bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DiscoveryResolve,omitempty"` // Indicates whether or not WS-Discovery Bye is supported. DiscoveryBye bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DiscoveryBye,omitempty"` // Indicates whether or not remote discovery is supported. RemoteDiscovery bool `xml:"http://www.onvif.org/ver20/imaging/wsdl RemoteDiscovery,omitempty"` // Indicates whether or not system backup is supported. SystemBackup bool `xml:"http://www.onvif.org/ver20/imaging/wsdl SystemBackup,omitempty"` // Indicates whether or not system logging is supported. SystemLogging bool `xml:"http://www.onvif.org/ver20/imaging/wsdl SystemLogging,omitempty"` // Indicates whether or not firmware upgrade is supported. FirmwareUpgrade bool `xml:"http://www.onvif.org/ver20/imaging/wsdl FirmwareUpgrade,omitempty"` // Indicates supported ONVIF version(s). SupportedVersions []OnvifVersion `xml:"http://www.onvif.org/ver10/schema SupportedVersions,omitempty"` Extension SystemCapabilitiesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SystemCapabilities type
type SystemCapabilitiesExtension ¶
type SystemCapabilitiesExtension struct { HttpFirmwareUpgrade bool `xml:"http://www.onvif.org/ver20/imaging/wsdl HttpFirmwareUpgrade,omitempty"` HttpSystemBackup bool `xml:"http://www.onvif.org/ver20/imaging/wsdl HttpSystemBackup,omitempty"` HttpSystemLogging bool `xml:"http://www.onvif.org/ver20/imaging/wsdl HttpSystemLogging,omitempty"` HttpSupportInformation bool `xml:"http://www.onvif.org/ver20/imaging/wsdl HttpSupportInformation,omitempty"` Extension SystemCapabilitiesExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SystemCapabilitiesExtension type
type SystemCapabilitiesExtension2 ¶
type SystemCapabilitiesExtension2 struct { }
SystemCapabilitiesExtension2 type
type SystemDateTime ¶
type SystemDateTime struct { // Indicates if the time is set manully or through NTP. DateTimeType SetDateTimeType `xml:"http://www.onvif.org/ver10/schema DateTimeType,omitempty"` // Informative indicator whether daylight savings is currently on/off. DaylightSavings bool `xml:"http://www.onvif.org/ver20/imaging/wsdl DaylightSavings,omitempty"` // Timezone information in Posix format. TimeZone TimeZone `xml:"http://www.onvif.org/ver10/schema TimeZone,omitempty"` // Current system date and time in UTC format. This field is mandatory since version 2.0. UTCDateTime string `xml:"http://www.onvif.org/ver10/schema UTCDateTime,omitempty"` // Date and time in local format. LocalDateTime string `xml:"http://www.onvif.org/ver10/schema LocalDateTime,omitempty"` Extension SystemDateTimeExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
SystemDateTime type
type SystemLogType ¶
type SystemLogType string
SystemLogType type
const ( // Indicates that a system log is requested. // SystemLogTypeSystem const SystemLogTypeSystem SystemLogType = "System" // Indicates that a access log is requested. // SystemLogTypeAccess const SystemLogTypeAccess SystemLogType = "Access" )
type TLSConfiguration ¶
type TLSConfiguration struct {
CertificateID string `xml:"http://www.onvif.org/ver20/imaging/wsdl CertificateID,omitempty"`
}
TLSConfiguration type
type Time ¶
type Time struct { // Range is 0 to 23. Hour int32 `xml:"http://www.onvif.org/ver10/schema Hour,omitempty"` // Range is 0 to 59. Minute int32 `xml:"http://www.onvif.org/ver10/schema Minute,omitempty"` // Range is 0 to 61 (typically 59). Second int32 `xml:"http://www.onvif.org/ver10/schema Second,omitempty"` }
Time type
type TimeZone ¶
type TimeZone struct { // Posix timezone string. TZ string `xml:"http://www.onvif.org/ver20/imaging/wsdl TZ,omitempty"` }
TimeZone type
type ToneCompensation ¶
type ToneCompensation struct { // Parameter to enable/disable or automatic ToneCompensation feature. Its options shall be chosen from tt:ToneCompensationMode Type. Mode string `xml:"http://www.onvif.org/ver20/imaging/wsdl Mode,omitempty"` // Optional level parameter specified with unitless normalized value from 0.0 to +1.0. Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` Extension ToneCompensationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
ToneCompensation type
type ToneCompensationExtension ¶
type ToneCompensationExtension struct { }
ToneCompensationExtension type
type ToneCompensationMode ¶
type ToneCompensationMode string
ToneCompensationMode type
const ( // ToneCompensationModeOFF const ToneCompensationModeOFF ToneCompensationMode = "OFF" // ToneCompensationModeON const ToneCompensationModeON ToneCompensationMode = "ON" // ToneCompensationModeAUTO const ToneCompensationModeAUTO ToneCompensationMode = "AUTO" )
type ToneCompensationOptions ¶
type ToneCompensationOptions struct { // Supported options for Tone Compensation mode. Its options shall be chosen from tt:ToneCompensationMode Type. Mode []string `xml:"http://www.onvif.org/ver20/imaging/wsdl Mode,omitempty"` // Indicates whether or not support Level parameter for Tone Compensation. Level bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Level,omitempty"` }
ToneCompensationOptions type
type TopicExpressionDialectUnknownFault ¶
type TopicExpressionDialectUnknownFault TopicExpressionDialectUnknownFaultType
TopicExpressionDialectUnknownFault type
type TopicExpressionDialectUnknownFaultType ¶
type TopicExpressionDialectUnknownFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 TopicExpressionDialectUnknownFault"` *BaseFaultType }
TopicExpressionDialectUnknownFaultType type
type TopicExpressionType ¶
type TopicExpressionType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 TopicExpression"` Dialect AnyURI `xml:"http://www.onvif.org/ver10/schema Dialect,attr,omitempty"` }
TopicExpressionType type
type TopicNamespaceType ¶
type TopicNamespaceType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/t-1 TopicNamespace"` *ExtensibleDocumented Topic []struct { *TopicType Parent ConcreteTopicExpression `xml:"parent,attr,omitempty"` } `xml:"Topic,omitempty"` Name NCName `xml:"name,attr,omitempty"` TargetNamespace AnyURI `xml:"targetNamespace,attr,omitempty"` Final bool `xml:"final,attr,omitempty"` }
TopicNamespaceType type
type TopicNotSupportedFault ¶
type TopicNotSupportedFault TopicNotSupportedFaultType
TopicNotSupportedFault type
type TopicNotSupportedFaultType ¶
type TopicNotSupportedFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 TopicNotSupportedFault"` *BaseFaultType }
TopicNotSupportedFaultType type
type TopicSetType ¶
type TopicSetType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/t-1 TopicSet"` *ExtensibleDocumented }
TopicSetType type
type TopicType ¶
type TopicType struct { *ExtensibleDocumented MessagePattern QueryExpressionType `xml:"MessagePattern,omitempty"` Topic []TopicType `xml:"Topic,omitempty"` Name NCName `xml:"name,attr,omitempty"` MessageTypes string `xml:"messageTypes,attr,omitempty"` Final bool `xml:"final,attr,omitempty"` }
TopicType type
type TrackAttributes ¶
type TrackAttributes struct { // The basic information about the track. Note that a track may represent a single contiguous time span or consist of multiple slices. TrackInformation TrackInformation `xml:"http://www.onvif.org/ver10/schema TrackInformation,omitempty"` // If the track is a video track, exactly one of this structure shall be present and contain the video attributes. VideoAttributes VideoAttributes `xml:"http://www.onvif.org/ver10/schema VideoAttributes,omitempty"` // If the track is an audio track, exactly one of this structure shall be present and contain the audio attributes. AudioAttributes AudioAttributes `xml:"http://www.onvif.org/ver10/schema AudioAttributes,omitempty"` // If the track is an metadata track, exactly one of this structure shall be present and contain the metadata attributes. MetadataAttributes MetadataAttributes `xml:"http://www.onvif.org/ver10/schema MetadataAttributes,omitempty"` Extension TrackAttributesExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
TrackAttributes type
type TrackAttributesExtension ¶
type TrackAttributesExtension struct { }
TrackAttributesExtension type
type TrackInformation ¶
type TrackInformation struct { TrackToken TrackReference `xml:"http://www.onvif.org/ver10/schema TrackToken,omitempty"` // Type of the track: "Video", "Audio" or "Metadata". // The track shall only be able to hold data of that type. TrackType TrackType `xml:"http://www.onvif.org/ver10/schema TrackType,omitempty"` // Informative description of the contents of the track. Description Description `xml:"http://www.onvif.org/ver10/schema Description,omitempty"` // The start date and time of the oldest recorded data in the track. DataFrom string `xml:"http://www.onvif.org/ver10/schema DataFrom,omitempty"` // The stop date and time of the newest recorded data in the track. DataTo string `xml:"http://www.onvif.org/ver10/schema DataTo,omitempty"` }
TrackInformation type
type TrackType ¶
type TrackType string
TrackType type
const ( // TrackTypeVideo const TrackTypeVideo TrackType = "Video" // TrackTypeAudio const TrackTypeAudio TrackType = "Audio" // TrackTypeMetadata const TrackTypeMetadata TrackType = "Metadata" // Placeholder for future extension. // TrackTypeExtended const TrackTypeExtended TrackType = "Extended" )
type Transformation ¶
type Transformation struct { Translate Vector `xml:"http://www.onvif.org/ver10/schema Translate,omitempty"` Scale Vector `xml:"http://www.onvif.org/ver10/schema Scale,omitempty"` Extension TransformationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
Transformation type
type Transport ¶
type Transport struct { // Defines the network protocol for streaming, either UDP=RTP/UDP, RTSP=RTP/RTSP/TCP or HTTP=RTP/RTSP/HTTP/TCP Protocol TransportProtocol `xml:"http://www.onvif.org/ver10/schema Protocol,omitempty"` // Optional element to describe further tunnel options. This element is normally not needed Tunnel *Transport `xml:"http://www.onvif.org/ver10/schema Tunnel,omitempty"` }
Transport type
type TransportProtocol ¶
type TransportProtocol string
TransportProtocol type
const ( // TransportProtocolUDP const TransportProtocolUDP TransportProtocol = "UDP" // This value is deprecated. // TransportProtocolTCP const TransportProtocolTCP TransportProtocol = "TCP" // TransportProtocolRTSP const TransportProtocolRTSP TransportProtocol = "RTSP" // TransportProtocolHTTP const TransportProtocolHTTP TransportProtocol = "HTTP" )
type UnableToCreatePullPointFault ¶
type UnableToCreatePullPointFault UnableToCreatePullPointFaultType
UnableToCreatePullPointFault type
type UnableToCreatePullPointFaultType ¶
type UnableToCreatePullPointFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToCreatePullPointFault"` *BaseFaultType }
UnableToCreatePullPointFaultType type
type UnableToDestroyPullPointFault ¶
type UnableToDestroyPullPointFault UnableToDestroyPullPointFaultType
UnableToDestroyPullPointFault type
type UnableToDestroyPullPointFaultType ¶
type UnableToDestroyPullPointFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToDestroyPullPointFault"` *BaseFaultType }
UnableToDestroyPullPointFaultType type
type UnableToDestroySubscriptionFault ¶
type UnableToDestroySubscriptionFault UnableToDestroySubscriptionFaultType
UnableToDestroySubscriptionFault type
type UnableToDestroySubscriptionFaultType ¶
type UnableToDestroySubscriptionFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToDestroySubscriptionFault"` *BaseFaultType }
UnableToDestroySubscriptionFaultType type
type UnableToGetMessagesFault ¶
type UnableToGetMessagesFault UnableToGetMessagesFaultType
UnableToGetMessagesFault type
type UnableToGetMessagesFaultType ¶
type UnableToGetMessagesFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnableToGetMessagesFault"` *BaseFaultType }
UnableToGetMessagesFaultType type
type UnacceptableInitialTerminationTimeFault ¶
type UnacceptableInitialTerminationTimeFault UnacceptableInitialTerminationTimeFaultType
UnacceptableInitialTerminationTimeFault type
type UnacceptableInitialTerminationTimeFaultType ¶
type UnacceptableInitialTerminationTimeFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnacceptableInitialTerminationTimeFault"` *BaseFaultType MinimumTime string `xml:"http://www.onvif.org/ver10/schema MinimumTime,omitempty"` MaximumTime string `xml:"http://www.onvif.org/ver10/schema MaximumTime,omitempty"` }
UnacceptableInitialTerminationTimeFaultType type
type UnacceptableTerminationTimeFault ¶
type UnacceptableTerminationTimeFault UnacceptableTerminationTimeFaultType
UnacceptableTerminationTimeFault type
type UnacceptableTerminationTimeFaultType ¶
type UnacceptableTerminationTimeFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnacceptableTerminationTimeFault"` *BaseFaultType MinimumTime string `xml:"http://www.onvif.org/ver10/schema MinimumTime,omitempty"` MaximumTime string `xml:"http://www.onvif.org/ver10/schema MaximumTime,omitempty"` }
UnacceptableTerminationTimeFaultType type
type UnrecognizedPolicyRequestFault ¶
type UnrecognizedPolicyRequestFault UnrecognizedPolicyRequestFaultType
UnrecognizedPolicyRequestFault type
type UnrecognizedPolicyRequestFaultType ¶
type UnrecognizedPolicyRequestFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnrecognizedPolicyRequestFault"` *BaseFaultType UnrecognizedPolicy []QName `xml:"http://www.onvif.org/ver10/schema UnrecognizedPolicy,omitempty"` }
UnrecognizedPolicyRequestFaultType type
type UnsupportedPolicyRequestFault ¶
type UnsupportedPolicyRequestFault UnsupportedPolicyRequestFaultType
UnsupportedPolicyRequestFault type
type UnsupportedPolicyRequestFaultType ¶
type UnsupportedPolicyRequestFaultType struct { XMLName xml.Name `xml:"http://docs.oasis-open.org/wsn/b-2 UnsupportedPolicyRequestFault"` *BaseFaultType UnsupportedPolicy []QName `xml:"http://www.onvif.org/ver10/schema UnsupportedPolicy,omitempty"` }
UnsupportedPolicyRequestFaultType type
type UpgradeType ¶
type UpgradeType struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope Upgrade"` SupportedEnvelope []SupportedEnvType `xml:"SupportedEnvelope,omitempty"` }
UpgradeType type
type User ¶
type User struct { // Username string. Username string `xml:"http://www.onvif.org/ver20/imaging/wsdl Username,omitempty"` // Password string. Password string `xml:"http://www.onvif.org/ver20/imaging/wsdl Password,omitempty"` // User level string. UserLevel UserLevel `xml:"http://www.onvif.org/ver10/schema UserLevel,omitempty"` Extension UserExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
User type
type UserLevel ¶
type UserLevel string
UserLevel type
const ( // UserLevelAdministrator const UserLevelAdministrator UserLevel = "Administrator" // UserLevelOperator const UserLevelOperator UserLevel = "Operator" // UserLevelUser const UserLevelUser UserLevel = "User" // UserLevelAnonymous const UserLevelAnonymous UserLevel = "Anonymous" // UserLevelExtended const UserLevelExtended UserLevel = "Extended" )
type Vector1D ¶
type Vector1D struct { X float32 `xml:"x,attr,omitempty"` Space AnyURI `xml:"space,attr,omitempty"` }
Vector1D type
type Vector2D ¶
type Vector2D struct { X float32 `xml:"x,attr,omitempty"` Y float32 `xml:"y,attr,omitempty"` Space AnyURI `xml:"space,attr,omitempty"` }
Vector2D type
type VideoAnalyticsConfiguration ¶
type VideoAnalyticsConfiguration struct { *ConfigurationEntity AnalyticsEngineConfiguration AnalyticsEngineConfiguration `xml:"http://www.onvif.org/ver10/schema AnalyticsEngineConfiguration,omitempty"` RuleEngineConfiguration RuleEngineConfiguration `xml:"http://www.onvif.org/ver10/schema RuleEngineConfiguration,omitempty"` }
VideoAnalyticsConfiguration type
type VideoAttributes ¶
type VideoAttributes struct { // Average bitrate in kbps. Bitrate int32 `xml:"http://www.onvif.org/ver10/schema Bitrate,omitempty"` // The width of the video in pixels. Width int32 `xml:"http://www.onvif.org/ver10/schema Width,omitempty"` // The height of the video in pixels. Height int32 `xml:"http://www.onvif.org/ver10/schema Height,omitempty"` // Video encoding of the track. Use value from tt:VideoEncoding for MPEG4. Otherwise use values from tt:VideoEncodingMimeNames and . Encoding string `xml:"http://www.onvif.org/ver20/imaging/wsdl Encoding,omitempty"` // Average framerate in frames per second. Framerate float32 `xml:"http://www.onvif.org/ver10/schema Framerate,omitempty"` }
VideoAttributes type
type VideoDecoderConfigurationOptions ¶
type VideoDecoderConfigurationOptions struct { // If the device is able to decode Jpeg streams this element describes the supported codecs and configurations JpegDecOptions JpegDecOptions `xml:"http://www.onvif.org/ver10/schema JpegDecOptions,omitempty"` // If the device is able to decode H.264 streams this element describes the supported codecs and configurations H264DecOptions H264DecOptions `xml:"http://www.onvif.org/ver10/schema H264DecOptions,omitempty"` // If the device is able to decode Mpeg4 streams this element describes the supported codecs and configurations Mpeg4DecOptions Mpeg4DecOptions `xml:"http://www.onvif.org/ver10/schema Mpeg4DecOptions,omitempty"` Extension VideoDecoderConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoDecoderConfigurationOptions type
type VideoDecoderConfigurationOptionsExtension ¶
type VideoDecoderConfigurationOptionsExtension struct { }
VideoDecoderConfigurationOptionsExtension type
type VideoEncoderConfiguration ¶
type VideoEncoderConfiguration struct { *ConfigurationEntity // Used video codec, either Jpeg, H.264 or Mpeg4 Encoding VideoEncoding `xml:"http://www.onvif.org/ver10/schema Encoding,omitempty"` // Configured video resolution Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution,omitempty"` // Relative value for the video quantizers and the quality of the video. A high value within supported quality range means higher quality Quality float32 `xml:"http://www.onvif.org/ver10/schema Quality,omitempty"` // Optional element to configure rate control related parameters. RateControl VideoRateControl `xml:"http://www.onvif.org/ver10/schema RateControl,omitempty"` // Optional element to configure Mpeg4 related parameters. MPEG4 Mpeg4Configuration `xml:"http://www.onvif.org/ver10/schema MPEG4,omitempty"` // Optional element to configure H.264 related parameters. H264 H264Configuration `xml:"http://www.onvif.org/ver10/schema H264,omitempty"` // Defines the multicast settings that could be used for video streaming. Multicast MulticastConfiguration `xml:"http://www.onvif.org/ver10/schema Multicast,omitempty"` // The rtsp session timeout for the related video stream SessionTimeout Duration `xml:"http://www.onvif.org/ver10/schema SessionTimeout,omitempty"` GuaranteedFrameRate bool `xml:"http://www.onvif.org/ver20/imaging/wsdl GuaranteedFrameRate,attr,omitempty"` }
VideoEncoderConfiguration type
type VideoEncoderOptionsExtension ¶
type VideoEncoderOptionsExtension struct { // Optional JPEG encoder settings ranges. JPEG JpegOptions2 `xml:"http://www.onvif.org/ver10/schema JPEG,omitempty"` // Optional MPEG-4 encoder settings ranges. MPEG4 Mpeg4Options2 `xml:"http://www.onvif.org/ver10/schema MPEG4,omitempty"` // Optional H.264 encoder settings ranges. H264 H264Options2 `xml:"http://www.onvif.org/ver10/schema H264,omitempty"` Extension VideoEncoderOptionsExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoEncoderOptionsExtension type
type VideoEncoderOptionsExtension2 ¶
type VideoEncoderOptionsExtension2 struct { }
VideoEncoderOptionsExtension2 type
type VideoEncoding ¶
type VideoEncoding string
VideoEncoding type
const ( // VideoEncodingJPEG const VideoEncodingJPEG VideoEncoding = "JPEG" // VideoEncodingMPEG4 const VideoEncodingMPEG4 VideoEncoding = "MPEG4" // VideoEncodingH264 const VideoEncodingH264 VideoEncoding = "H264" )
type VideoEncodingMimeNames ¶
type VideoEncodingMimeNames string
VideoEncodingMimeNames type
const ( // VideoEncodingMimeNamesJPEG const VideoEncodingMimeNamesJPEG VideoEncodingMimeNames = "JPEG" // VideoEncodingMimeNamesMPV4ES const VideoEncodingMimeNamesMPV4ES VideoEncodingMimeNames = "MPV4-ES" // VideoEncodingMimeNamesH264 const VideoEncodingMimeNamesH264 VideoEncodingMimeNames = "H264" // VideoEncodingMimeNamesH265 const VideoEncodingMimeNamesH265 VideoEncodingMimeNames = "H265" )
type VideoEncodingProfiles ¶
type VideoEncodingProfiles string
VideoEncodingProfiles type
const ( // VideoEncodingProfilesSimple const VideoEncodingProfilesSimple VideoEncodingProfiles = "Simple" // VideoEncodingProfilesAdvancedSimple const VideoEncodingProfilesAdvancedSimple VideoEncodingProfiles = "AdvancedSimple" // VideoEncodingProfilesBaseline const VideoEncodingProfilesBaseline VideoEncodingProfiles = "Baseline" // VideoEncodingProfilesMain const VideoEncodingProfilesMain VideoEncodingProfiles = "Main" // VideoEncodingProfilesMain10 const VideoEncodingProfilesMain10 VideoEncodingProfiles = "Main10" // VideoEncodingProfilesExtended const VideoEncodingProfilesExtended VideoEncodingProfiles = "Extended" // VideoEncodingProfilesHigh const VideoEncodingProfilesHigh VideoEncodingProfiles = "High" )
type VideoOutput ¶
type VideoOutput struct { *DeviceEntity Layout Layout `xml:"http://www.onvif.org/ver10/schema Layout,omitempty"` // Resolution of the display in Pixel. Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution,omitempty"` // Refresh rate of the display in Hertz. RefreshRate float32 `xml:"http://www.onvif.org/ver10/schema RefreshRate,omitempty"` // Aspect ratio of the display as physical extent of width divided by height. AspectRatio float32 `xml:"http://www.onvif.org/ver10/schema AspectRatio,omitempty"` Extension VideoOutputExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoOutput type
type VideoRateControl ¶
type VideoRateControl struct { // Maximum output framerate in fps. If an EncodingInterval is provided the resulting encoded framerate will be reduced by the given factor. FrameRateLimit int32 `xml:"http://www.onvif.org/ver10/schema FrameRateLimit,omitempty"` // Interval at which images are encoded and transmitted. (A value of 1 means that every frame is encoded, a value of 2 means that every 2nd frame is encoded ...) EncodingInterval int32 `xml:"http://www.onvif.org/ver10/schema EncodingInterval,omitempty"` // the maximum output bitrate in kbps BitrateLimit int32 `xml:"http://www.onvif.org/ver10/schema BitrateLimit,omitempty"` }
VideoRateControl type
type VideoResolution ¶
type VideoResolution struct { // Number of the columns of the Video image. Width int32 `xml:"http://www.onvif.org/ver10/schema Width,omitempty"` // Number of the lines of the Video image. Height int32 `xml:"http://www.onvif.org/ver10/schema Height,omitempty"` }
VideoResolution type
type VideoSource ¶
type VideoSource struct { *DeviceEntity // Frame rate in frames per second. Framerate float32 `xml:"http://www.onvif.org/ver10/schema Framerate,omitempty"` // Horizontal and vertical resolution Resolution VideoResolution `xml:"http://www.onvif.org/ver10/schema Resolution,omitempty"` // Optional configuration of the image sensor. Imaging ImagingSettings `xml:"http://www.onvif.org/ver20/imaging/wsdl Imaging,omitempty"` Extension VideoSourceExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoSource type
type VideoSourceConfiguration ¶
type VideoSourceConfiguration struct { *ConfigurationEntity // Reference to the physical input. SourceToken ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl SourceToken,omitempty"` // Rectangle specifying the Video capturing area. The capturing area shall not be larger than the whole Video source area. Bounds IntRectangle `xml:"http://www.onvif.org/ver10/schema Bounds,omitempty"` Extension VideoSourceConfigurationExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` ViewMode string `xml:"http://www.onvif.org/ver20/imaging/wsdl ViewMode,attr,omitempty"` }
VideoSourceConfiguration type
type VideoSourceConfigurationExtension ¶
type VideoSourceConfigurationExtension struct { // Optional element to configure rotation of captured image. // What resolutions a device supports shall be unaffected by the Rotate parameters. // If a device is configured with Rotate=AUTO, the device shall take control over the Degree parameter and automatically update it so that a client can query current rotation. // The device shall automatically apply the same rotation to its pan/tilt control direction depending on the following condition: // if Reverse=AUTO in PTControlDirection or if the device doesn’t support Reverse in PTControlDirection // Rotate Rotate `xml:"http://www.onvif.org/ver10/schema Rotate,omitempty"` Extension VideoSourceConfigurationExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoSourceConfigurationExtension type
type VideoSourceConfigurationExtension2 ¶
type VideoSourceConfigurationExtension2 struct { // Optional element describing the geometric lens distortion. Multiple instances for future variable lens support. LensDescription []LensDescription `xml:"http://www.onvif.org/ver10/schema LensDescription,omitempty"` // Optional element describing the scene orientation in the camera’s field of view. SceneOrientation SceneOrientation `xml:"http://www.onvif.org/ver10/schema SceneOrientation,omitempty"` }
VideoSourceConfigurationExtension2 type
type VideoSourceConfigurationOptions ¶
type VideoSourceConfigurationOptions struct { // // Supported range for the capturing area. // Device that does not support cropped streaming shall express BoundsRange option as mentioned below // BoundsRange->XRange and BoundsRange->YRange with same Min/Max values HeightRange and WidthRange Min/Max values same as VideoSource Height and Width Limits. // BoundsRange IntRectangleRange `xml:"http://www.onvif.org/ver10/schema BoundsRange,omitempty"` // List of physical inputs. VideoSourceTokensAvailable []ReferenceToken `xml:"http://www.onvif.org/ver20/imaging/wsdl VideoSourceTokensAvailable,omitempty"` Extension VideoSourceConfigurationOptionsExtension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfProfiles,attr,omitempty"` }
VideoSourceConfigurationOptions type
type VideoSourceConfigurationOptionsExtension ¶
type VideoSourceConfigurationOptionsExtension struct { // Options of parameters for Rotation feature. Rotate RotateOptions `xml:"http://www.onvif.org/ver10/schema Rotate,omitempty"` Extension VideoSourceConfigurationOptionsExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoSourceConfigurationOptionsExtension type
type VideoSourceConfigurationOptionsExtension2 ¶
type VideoSourceConfigurationOptionsExtension2 struct { // Scene orientation modes supported by the device for this configuration. SceneOrientationMode []SceneOrientationMode `xml:"http://www.onvif.org/ver10/schema SceneOrientationMode,omitempty"` }
VideoSourceConfigurationOptionsExtension2 type
type VideoSourceExtension ¶
type VideoSourceExtension struct { // Optional configuration of the image sensor. To be used if imaging service 2.00 is supported. Imaging ImagingSettings20 `xml:"http://www.onvif.org/ver20/imaging/wsdl Imaging,omitempty"` Extension VideoSourceExtension2 `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
VideoSourceExtension type
type ViewModes ¶
type ViewModes string
ViewModes type
const ( // Undewarped viewmode from device supporting fisheye lens. // ViewModesTtFisheye const ViewModesTtFisheye ViewModes = "tt:Fisheye" // 360 degree panoramic view. // ViewModesTt360Panorama const ViewModesTt360Panorama ViewModes = "tt:360Panorama" // 180 degree panoramic view. // ViewModesTt180Panorama const ViewModesTt180Panorama ViewModes = "tt:180Panorama" // View mode combining four streams in single Quad, eg., applicable for devices supporting four heads. // ViewModesTtQuad const ViewModesTtQuad ViewModes = "tt:Quad" // Unaltered view from the sensor. // ViewModesTtOriginal const ViewModesTtOriginal ViewModes = "tt:Original" // Viewmode combining the left side sensors, applicable for devices supporting multiple sensors. // ViewModesTtLeftHalf const ViewModesTtLeftHalf ViewModes = "tt:LeftHalf" // Viewmode combining the right side sensors, applicable for devices supporting multiple sensors. // ViewModesTtRightHalf const ViewModesTtRightHalf ViewModes = "tt:RightHalf" // Dewarped view mode for device supporting fisheye lens. // ViewModesTtDewarp const ViewModesTtDewarp ViewModes = "tt:Dewarp" )
type WhiteBalance ¶
type WhiteBalance struct { // Auto whitebalancing mode (auto/manual). Mode WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Rgain (unitless). CrGain float32 `xml:"http://www.onvif.org/ver10/schema CrGain,omitempty"` // Bgain (unitless). CbGain float32 `xml:"http://www.onvif.org/ver10/schema CbGain,omitempty"` }
WhiteBalance type
type WhiteBalance20 ¶
type WhiteBalance20 struct { // // 'AUTO' or 'MANUAL' // Mode WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // Rgain (unitless). // CrGain float32 `xml:"http://www.onvif.org/ver10/schema CrGain,omitempty"` // // Bgain (unitless). // CbGain float32 `xml:"http://www.onvif.org/ver10/schema CbGain,omitempty"` Extension WhiteBalance20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
WhiteBalance20 type
type WhiteBalanceMode ¶
type WhiteBalanceMode string
WhiteBalanceMode type
const ( // WhiteBalanceModeAUTO const WhiteBalanceModeAUTO WhiteBalanceMode = "AUTO" // WhiteBalanceModeMANUAL const WhiteBalanceModeMANUAL WhiteBalanceMode = "MANUAL" )
type WhiteBalanceOptions ¶
type WhiteBalanceOptions struct { Mode []WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` YrGain FloatRange `xml:"http://www.onvif.org/ver10/schema YrGain,omitempty"` YbGain FloatRange `xml:"http://www.onvif.org/ver10/schema YbGain,omitempty"` }
WhiteBalanceOptions type
type WhiteBalanceOptions20 ¶
type WhiteBalanceOptions20 struct { // // Mode of WhiteBalance. // // Mode []WhiteBalanceMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` YrGain FloatRange `xml:"http://www.onvif.org/ver10/schema YrGain,omitempty"` YbGain FloatRange `xml:"http://www.onvif.org/ver10/schema YbGain,omitempty"` Extension WhiteBalanceOptions20Extension `xml:"http://www.onvif.org/ver10/schema Extension,omitempty"` }
WhiteBalanceOptions20 type
type WhiteBalanceOptions20Extension ¶
type WhiteBalanceOptions20Extension struct { }
WhiteBalanceOptions20Extension type
type WideDynamicMode ¶
type WideDynamicMode string
WideDynamicMode type
const ( // WideDynamicModeOFF const WideDynamicModeOFF WideDynamicMode = "OFF" // WideDynamicModeON const WideDynamicModeON WideDynamicMode = "ON" )
type WideDynamicRange ¶
type WideDynamicRange struct { // // White dynamic range (on/off) // Mode WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // // Optional level parameter (unitless) // Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
WideDynamicRange type
type WideDynamicRange20 ¶
type WideDynamicRange20 struct { // Wide dynamic range mode (on/off). Mode WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` // Optional level parameter (unit unspecified). Level float32 `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
WideDynamicRange20 type
type WideDynamicRangeOptions ¶
type WideDynamicRangeOptions struct { Mode []WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Level FloatRange `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
WideDynamicRangeOptions type
type WideDynamicRangeOptions20 ¶
type WideDynamicRangeOptions20 struct { Mode []WideDynamicMode `xml:"http://www.onvif.org/ver10/schema Mode,omitempty"` Level FloatRange `xml:"http://www.onvif.org/ver10/schema Level,omitempty"` }
WideDynamicRangeOptions20 type
type ZoomLimits ¶
type ZoomLimits struct { // // A range of zoom limit // Range Space1DDescription `xml:"http://www.onvif.org/ver10/schema Range,omitempty"` }
ZoomLimits type