wsdl

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAudioDecoderConfiguration

type AddAudioDecoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioDecoderConfiguration" json:"-"`

	// This element contains a reference to the profile where the configuration should be added.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// This element contains a reference to the AudioDecoderConfiguration to add.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddAudioDecoderConfigurationResponse

type AddAudioDecoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioDecoderConfigurationResponse" json:"-"`
}

type AddAudioEncoderConfiguration

type AddAudioEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioEncoderConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the AudioEncoderConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddAudioEncoderConfigurationResponse

type AddAudioEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioEncoderConfigurationResponse" json:"-"`
}

type AddAudioOutputConfiguration

type AddAudioOutputConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioOutputConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the AudioOutputConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddAudioOutputConfigurationResponse

type AddAudioOutputConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioOutputConfigurationResponse" json:"-"`
}

type AddAudioSourceConfiguration

type AddAudioSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioSourceConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the AudioSourceConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddAudioSourceConfigurationResponse

type AddAudioSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddAudioSourceConfigurationResponse" json:"-"`
}

type AddMetadataConfiguration

type AddMetadataConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddMetadataConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the MetadataConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddMetadataConfigurationResponse

type AddMetadataConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddMetadataConfigurationResponse" json:"-"`
}

type AddPTZConfiguration

type AddPTZConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddPTZConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the PTZConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddPTZConfigurationResponse

type AddPTZConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddPTZConfigurationResponse" json:"-"`
}

type AddVideoAnalyticsConfiguration

type AddVideoAnalyticsConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddVideoAnalyticsConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the VideoAnalyticsConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddVideoAnalyticsConfigurationResponse

type AddVideoAnalyticsConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddVideoAnalyticsConfigurationResponse" json:"-"`
}

type AddVideoEncoderConfiguration

type AddVideoEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddVideoEncoderConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the VideoEncoderConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddVideoEncoderConfigurationResponse

type AddVideoEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddVideoEncoderConfigurationResponse" json:"-"`
}

type AddVideoSourceConfiguration

type AddVideoSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddVideoSourceConfiguration" json:"-"`

	// Reference to the profile where the configuration should be added
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`

	// Contains a reference to the VideoSourceConfiguration to add
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type AddVideoSourceConfigurationResponse

type AddVideoSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl AddVideoSourceConfigurationResponse" json:"-"`
}

type Capabilities

type Capabilities struct {

	// Media profile capabilities.
	ProfileCapabilities *ProfileCapabilities `xml:"ProfileCapabilities,omitempty" json:"ProfileCapabilities,omitempty"`

	// Streaming capabilities.
	StreamingCapabilities *StreamingCapabilities `xml:"StreamingCapabilities,omitempty" json:"StreamingCapabilities,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`

	SnapshotUri bool `xml:"http://www.onvif.org/ver10/media/wsdl SnapshotUri,attr,omitempty" json:"SnapshotUri,omitempty"`

	Rotation bool `xml:"http://www.onvif.org/ver10/media/wsdl Rotation,attr,omitempty" json:"Rotation,omitempty"`

	VideoSourceMode bool `xml:"http://www.onvif.org/ver10/media/wsdl VideoSourceMode,attr,omitempty" json:"VideoSourceMode,omitempty"`

	OSD bool `xml:"http://www.onvif.org/ver10/media/wsdl OSD,attr,omitempty" json:"OSD,omitempty"`

	TemporaryOSDText bool `xml:"http://www.onvif.org/ver10/media/wsdl TemporaryOSDText,attr,omitempty" json:"TemporaryOSDText,omitempty"`

	EXICompression bool `xml:"http://www.onvif.org/ver10/media/wsdl EXICompression,attr,omitempty" json:"EXICompression,omitempty"`
}

type CreateOSD

type CreateOSD struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl CreateOSD" json:"-"`

	// Contain the initial OSD configuration for create.
	OSD *tt.OSDConfiguration `xml:"OSD,omitempty" json:"OSD,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type CreateOSDResponse

type CreateOSDResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl CreateOSDResponse" json:"-"`

	// Returns Token of the newly created OSD
	OSDToken *tt.ReferenceToken `xml:"OSDToken,omitempty" json:"OSDToken,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type CreateProfile

type CreateProfile struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl CreateProfile" json:"-"`

	// friendly name of the profile to be created
	Name *tt.Name `xml:"Name,omitempty" json:"Name,omitempty"`

	// Optional token, specifying the unique identifier of the new profile. A device supports at least a token length of 12 characters and characters "A-Z" | "a-z" | "0-9" | "-.".
	Token *tt.ReferenceToken `xml:"Token,omitempty" json:"Token,omitempty"`
}

type CreateProfileResponse

type CreateProfileResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl CreateProfileResponse" json:"-"`

	// returns the new created profile
	Profile *tt.Profile `xml:"Profile,omitempty" json:"Profile,omitempty"`
}

type DeleteOSD

type DeleteOSD struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl DeleteOSD" json:"-"`

	// This element contains a reference to the OSD configuration that should be deleted.
	OSDToken *tt.ReferenceToken `xml:"OSDToken,omitempty" json:"OSDToken,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type DeleteOSDResponse

type DeleteOSDResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl DeleteOSDResponse" json:"-"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type DeleteProfile

type DeleteProfile struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl DeleteProfile" json:"-"`

	// This element contains a  reference to the profile that should be deleted.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type DeleteProfileResponse

type DeleteProfileResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl DeleteProfileResponse" json:"-"`
}

type GetAudioDecoderConfiguration

type GetAudioDecoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioDecoderConfiguration" json:"-"`

	// Token of the requested audio decoder configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetAudioDecoderConfigurationOptions

type GetAudioDecoderConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioDecoderConfigurationOptions" json:"-"`

	// Optional audio decoder configuration token that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetAudioDecoderConfigurationOptionsResponse

type GetAudioDecoderConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioDecoderConfigurationOptionsResponse" json:"-"`

	// This message contains the audio decoder configuration options. If a audio decoder configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	Options *tt.AudioDecoderConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioDecoderConfigurationResponse

type GetAudioDecoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioDecoderConfigurationResponse" json:"-"`

	// The requested audio decoder configuration
	Configuration *tt.AudioDecoderConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetAudioDecoderConfigurations

type GetAudioDecoderConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioDecoderConfigurations" json:"-"`
}

type GetAudioDecoderConfigurationsResponse

type GetAudioDecoderConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioDecoderConfigurationsResponse" json:"-"`

	// This element contains a list of audio decoder configurations
	Configurations []*tt.AudioDecoderConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetAudioEncoderConfiguration

type GetAudioEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioEncoderConfiguration" json:"-"`

	// Token of the requested audio encoder configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetAudioEncoderConfigurationOptions

type GetAudioEncoderConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioEncoderConfigurationOptions" json:"-"`

	// Optional audio encoder configuration token that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetAudioEncoderConfigurationOptionsResponse

type GetAudioEncoderConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioEncoderConfigurationOptionsResponse" json:"-"`

	// This message contains the audio encoder configuration options. If a audio encoder configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	Options *tt.AudioEncoderConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioEncoderConfigurationResponse

type GetAudioEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioEncoderConfigurationResponse" json:"-"`

	// The requested audio encoder configuration
	Configuration *tt.AudioEncoderConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetAudioEncoderConfigurations

type GetAudioEncoderConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioEncoderConfigurations" json:"-"`
}

type GetAudioEncoderConfigurationsResponse

type GetAudioEncoderConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioEncoderConfigurationsResponse" json:"-"`

	// This element contains a list of audio encoder configurations.
	Configurations []*tt.AudioEncoderConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetAudioOutputConfiguration

type GetAudioOutputConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputConfiguration" json:"-"`

	// Token of the requested audio output configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetAudioOutputConfigurationOptions

type GetAudioOutputConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputConfigurationOptions" json:"-"`

	// Optional audio output configuration token that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetAudioOutputConfigurationOptionsResponse

type GetAudioOutputConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputConfigurationOptionsResponse" json:"-"`

	// This message contains the audio output configuration options. If a audio output configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	Options *tt.AudioOutputConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioOutputConfigurationResponse

type GetAudioOutputConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputConfigurationResponse" json:"-"`

	// The requested audio output configuration.
	Configuration *tt.AudioOutputConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetAudioOutputConfigurations

type GetAudioOutputConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputConfigurations" json:"-"`
}

type GetAudioOutputConfigurationsResponse

type GetAudioOutputConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputConfigurationsResponse" json:"-"`

	// This element contains a list of audio output configurations
	Configurations []*tt.AudioOutputConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetAudioOutputs

type GetAudioOutputs struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputs" json:"-"`
}

type GetAudioOutputsResponse

type GetAudioOutputsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioOutputsResponse" json:"-"`

	// List of existing Audio Outputs
	AudioOutputs []*tt.AudioOutput `xml:"AudioOutputs,omitempty" json:"AudioOutputs,omitempty"`
}

type GetAudioSourceConfiguration

type GetAudioSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourceConfiguration" json:"-"`

	// Token of the requested audio source configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetAudioSourceConfigurationOptions

type GetAudioSourceConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourceConfigurationOptions" json:"-"`

	// Optional audio source configuration token that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetAudioSourceConfigurationOptionsResponse

type GetAudioSourceConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourceConfigurationOptionsResponse" json:"-"`

	// This message contains the audio source configuration options. If a audio source configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	Options *tt.AudioSourceConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioSourceConfigurationResponse

type GetAudioSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourceConfigurationResponse" json:"-"`

	// The requested audio source configuration.
	Configuration *tt.AudioSourceConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetAudioSourceConfigurations

type GetAudioSourceConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourceConfigurations" json:"-"`
}

type GetAudioSourceConfigurationsResponse

type GetAudioSourceConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourceConfigurationsResponse" json:"-"`

	// This element contains a list of audio source configurations.
	Configurations []*tt.AudioSourceConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetAudioSources

type GetAudioSources struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSources" json:"-"`
}

type GetAudioSourcesResponse

type GetAudioSourcesResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetAudioSourcesResponse" json:"-"`

	// List of existing Audio Sources
	AudioSources []*tt.AudioSource `xml:"AudioSources,omitempty" json:"AudioSources,omitempty"`
}

type GetCompatibleAudioDecoderConfigurations

type GetCompatibleAudioDecoderConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioDecoderConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleAudioDecoderConfigurationsResponse

type GetCompatibleAudioDecoderConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioDecoderConfigurationsResponse" json:"-"`

	// Contains a list of audio decoder configurations that are compatible with the specified media profile.
	Configurations []*tt.AudioDecoderConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleAudioEncoderConfigurations

type GetCompatibleAudioEncoderConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioEncoderConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleAudioEncoderConfigurationsResponse

type GetCompatibleAudioEncoderConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioEncoderConfigurationsResponse" json:"-"`

	// Contains a list of audio encoder configurations that are compatible with the specified media profile.
	Configurations []*tt.AudioEncoderConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleAudioOutputConfigurations

type GetCompatibleAudioOutputConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioOutputConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleAudioOutputConfigurationsResponse

type GetCompatibleAudioOutputConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioOutputConfigurationsResponse" json:"-"`

	// Contains a list of audio output configurations that are compatible with the specified media profile.
	Configurations []*tt.AudioOutputConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleAudioSourceConfigurations

type GetCompatibleAudioSourceConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioSourceConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleAudioSourceConfigurationsResponse

type GetCompatibleAudioSourceConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleAudioSourceConfigurationsResponse" json:"-"`

	// Contains a list of audio source configurations that are compatible with the specified media profile.
	Configurations []*tt.AudioSourceConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleMetadataConfigurations

type GetCompatibleMetadataConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleMetadataConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleMetadataConfigurationsResponse

type GetCompatibleMetadataConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleMetadataConfigurationsResponse" json:"-"`

	// Contains a list of metadata configurations that are compatible with the specified media profile.
	Configurations []*tt.MetadataConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleVideoAnalyticsConfigurations

type GetCompatibleVideoAnalyticsConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleVideoAnalyticsConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleVideoAnalyticsConfigurationsResponse

type GetCompatibleVideoAnalyticsConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleVideoAnalyticsConfigurationsResponse" json:"-"`

	// Contains a list of video analytics configurations that are compatible with the specified media profile.
	Configurations []*tt.VideoAnalyticsConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleVideoEncoderConfigurations

type GetCompatibleVideoEncoderConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleVideoEncoderConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleVideoEncoderConfigurationsResponse

type GetCompatibleVideoEncoderConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleVideoEncoderConfigurationsResponse" json:"-"`

	// Contains a list of video encoder configurations that are compatible with the specified media profile.
	Configurations []*tt.VideoEncoderConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetCompatibleVideoSourceConfigurations

type GetCompatibleVideoSourceConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleVideoSourceConfigurations" json:"-"`

	// Contains the token of an existing media profile the configurations shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetCompatibleVideoSourceConfigurationsResponse

type GetCompatibleVideoSourceConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetCompatibleVideoSourceConfigurationsResponse" json:"-"`

	// Contains a list of video source configurations that are compatible with the specified media profile.
	Configurations []*tt.VideoSourceConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetGuaranteedNumberOfVideoEncoderInstances

type GetGuaranteedNumberOfVideoEncoderInstances struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetGuaranteedNumberOfVideoEncoderInstances" json:"-"`

	// Token of the video source configuration
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetGuaranteedNumberOfVideoEncoderInstancesResponse

type GetGuaranteedNumberOfVideoEncoderInstancesResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetGuaranteedNumberOfVideoEncoderInstancesResponse" json:"-"`

	// The minimum guaranteed total number of encoder instances (applications) per VideoSourceConfiguration. The device is able to deliver the TotalNumber of streams
	TotalNumber int32 `xml:"TotalNumber,omitempty" json:"TotalNumber,omitempty"`

	// If a device limits the number of instances for respective Video Codecs the response contains the information how many Jpeg streams can be set up at the same time per VideoSource.
	JPEG int32 `xml:"JPEG,omitempty" json:"JPEG,omitempty"`

	// If a device limits the number of instances for respective Video Codecs the response contains the information how many H264 streams can be set up at the same time per VideoSource.
	H264 int32 `xml:"H264,omitempty" json:"H264,omitempty"`

	// If a device limits the number of instances for respective Video Codecs the response contains the information how many Mpeg4 streams can be set up at the same time per VideoSource.
	MPEG4 int32 `xml:"MPEG4,omitempty" json:"MPEG4,omitempty"`
}

type GetMetadataConfiguration

type GetMetadataConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetMetadataConfiguration" json:"-"`

	// Token of the requested metadata configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetMetadataConfigurationOptions

type GetMetadataConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetMetadataConfigurationOptions" json:"-"`

	// Optional metadata configuration token that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetMetadataConfigurationOptionsResponse

type GetMetadataConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetMetadataConfigurationOptionsResponse" json:"-"`

	// This message contains the metadata configuration options. If a metadata configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	Options *tt.MetadataConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetMetadataConfigurationResponse

type GetMetadataConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetMetadataConfigurationResponse" json:"-"`

	// The requested metadata configuration.
	Configuration *tt.MetadataConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetMetadataConfigurations

type GetMetadataConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetMetadataConfigurations" json:"-"`
}

type GetMetadataConfigurationsResponse

type GetMetadataConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetMetadataConfigurationsResponse" json:"-"`

	// This element contains a list of metadata configurations
	Configurations []*tt.MetadataConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetOSD

type GetOSD struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetOSD" json:"-"`

	// The GetOSD command fetches the OSD configuration if the OSD token is known.
	OSDToken *tt.ReferenceToken `xml:"OSDToken,omitempty" json:"OSDToken,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type GetOSDOptions

type GetOSDOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetOSDOptions" json:"-"`

	// Video Source Configuration Token that specifies an existing video source configuration that the options shall be compatible with.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type GetOSDOptionsResponse

type GetOSDOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetOSDOptionsResponse" json:"-"`

	OSDOptions *tt.OSDConfigurationOptions `xml:"OSDOptions,omitempty" json:"OSDOptions,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type GetOSDResponse

type GetOSDResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetOSDResponse" json:"-"`

	// The requested OSD configuration.
	OSD *tt.OSDConfiguration `xml:"OSD,omitempty" json:"OSD,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type GetOSDs

type GetOSDs struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetOSDs" json:"-"`

	// Token of the Video Source Configuration, which has OSDs associated with are requested. If token not exist, request all available OSDs.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetOSDsResponse

type GetOSDsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetOSDsResponse" json:"-"`

	// This element contains a list of requested OSDs.
	OSDs []*tt.OSDConfiguration `xml:"OSDs,omitempty" json:"OSDs,omitempty"`
}

type GetProfile

type GetProfile struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetProfile" json:"-"`

	// this command requests a specific profile
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetProfileResponse

type GetProfileResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetProfileResponse" json:"-"`

	// returns the requested media profile
	Profile *tt.Profile `xml:"Profile,omitempty" json:"Profile,omitempty"`
}

type GetProfiles

type GetProfiles struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetProfiles" json:"-"`
}

type GetProfilesResponse

type GetProfilesResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetProfilesResponse" json:"-"`

	// lists all profiles that exist in the media service
	Profiles []*tt.Profile `xml:"Profiles,omitempty" json:"Profiles,omitempty"`
}

type GetServiceCapabilities

type GetServiceCapabilities struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetServiceCapabilities" json:"-"`
}

type GetServiceCapabilitiesResponse

type GetServiceCapabilitiesResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetServiceCapabilitiesResponse" json:"-"`

	// The capabilities for the media service is returned in the Capabilities element.
	Capabilities *Capabilities `xml:"Capabilities,omitempty" json:"Capabilities,omitempty"`
}

type GetSnapshotUri

type GetSnapshotUri struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetSnapshotUri" json:"-"`

	// The ProfileToken element indicates the media profile to use and will define the source and dimensions of the snapshot.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetSnapshotUriResponse

type GetSnapshotUriResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetSnapshotUriResponse" json:"-"`

	MediaUri *tt.MediaUri `xml:"MediaUri,omitempty" json:"MediaUri,omitempty"`
}

type GetStreamUri

type GetStreamUri struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetStreamUri" json:"-"`

	// Stream Setup that should be used with the uri
	StreamSetup *tt.StreamSetup `xml:"StreamSetup,omitempty" json:"StreamSetup,omitempty"`

	// The ProfileToken element indicates the media profile to use and will define the configuration of the content of the stream.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetStreamUriResponse

type GetStreamUriResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetStreamUriResponse" json:"-"`

	MediaUri *tt.MediaUri `xml:"MediaUri,omitempty" json:"MediaUri,omitempty"`
}

type GetVideoAnalyticsConfiguration

type GetVideoAnalyticsConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoAnalyticsConfiguration" json:"-"`

	// Token of the requested video analytics configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetVideoAnalyticsConfigurationResponse

type GetVideoAnalyticsConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoAnalyticsConfigurationResponse" json:"-"`

	// The requested video analytics configuration.
	Configuration *tt.VideoAnalyticsConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetVideoAnalyticsConfigurations

type GetVideoAnalyticsConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoAnalyticsConfigurations" json:"-"`
}

type GetVideoAnalyticsConfigurationsResponse

type GetVideoAnalyticsConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoAnalyticsConfigurationsResponse" json:"-"`

	// This element contains a list of VideoAnalytics configurations.
	Configurations []*tt.VideoAnalyticsConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetVideoEncoderConfiguration

type GetVideoEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoEncoderConfiguration" json:"-"`

	// Token of the requested video encoder configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetVideoEncoderConfigurationOptions

type GetVideoEncoderConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoEncoderConfigurationOptions" json:"-"`

	// Optional video encoder configuration token that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetVideoEncoderConfigurationOptionsResponse

type GetVideoEncoderConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoEncoderConfigurationOptionsResponse" json:"-"`

	Options *tt.VideoEncoderConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetVideoEncoderConfigurationResponse

type GetVideoEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoEncoderConfigurationResponse" json:"-"`

	// The requested video encoder configuration.
	Configuration *tt.VideoEncoderConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetVideoEncoderConfigurations

type GetVideoEncoderConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoEncoderConfigurations" json:"-"`
}

type GetVideoEncoderConfigurationsResponse

type GetVideoEncoderConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoEncoderConfigurationsResponse" json:"-"`

	// This element contains a list of video encoder configurations.
	Configurations []*tt.VideoEncoderConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetVideoSourceConfiguration

type GetVideoSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceConfiguration" json:"-"`

	// Token of the requested video source configuration.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`
}

type GetVideoSourceConfigurationOptions

type GetVideoSourceConfigurationOptions struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceConfigurationOptions" json:"-"`

	// Optional video source configurationToken that specifies an existing configuration that the options are intended for.
	ConfigurationToken *tt.ReferenceToken `xml:"ConfigurationToken,omitempty" json:"ConfigurationToken,omitempty"`

	// Optional ProfileToken that specifies an existing media profile that the options shall be compatible with.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetVideoSourceConfigurationOptionsResponse

type GetVideoSourceConfigurationOptionsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceConfigurationOptionsResponse" json:"-"`

	// This message contains the video source configuration options. If a video source configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	Options *tt.VideoSourceConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetVideoSourceConfigurationResponse

type GetVideoSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceConfigurationResponse" json:"-"`

	// The requested video source configuration.
	Configuration *tt.VideoSourceConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`
}

type GetVideoSourceConfigurations

type GetVideoSourceConfigurations struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceConfigurations" json:"-"`
}

type GetVideoSourceConfigurationsResponse

type GetVideoSourceConfigurationsResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceConfigurationsResponse" json:"-"`

	// This element contains a list of video source configurations.
	Configurations []*tt.VideoSourceConfiguration `xml:"Configurations,omitempty" json:"Configurations,omitempty"`
}

type GetVideoSourceModes

type GetVideoSourceModes struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceModes" json:"-"`

	// Contains a video source reference for which a video source mode is requested.
	VideoSourceToken *tt.ReferenceToken `xml:"VideoSourceToken,omitempty" json:"VideoSourceToken,omitempty"`
}

type GetVideoSourceModesResponse

type GetVideoSourceModesResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourceModesResponse" json:"-"`

	// Return the information for specified video source mode.
	VideoSourceModes []*VideoSourceMode `xml:"VideoSourceModes,omitempty" json:"VideoSourceModes,omitempty"`
}

type GetVideoSources

type GetVideoSources struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSources" json:"-"`
}

type GetVideoSourcesResponse

type GetVideoSourcesResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl GetVideoSourcesResponse" json:"-"`

	// List of existing Video Sources
	VideoSources []*tt.VideoSource `xml:"VideoSources,omitempty" json:"VideoSources,omitempty"`
}

type Media

type Media interface {

	/* Returns the capabilities of the media service. The result is returned in a typed answer. */
	GetServiceCapabilities(request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error)

	GetServiceCapabilitiesContext(ctx context.Context, request *GetServiceCapabilities) (*GetServiceCapabilitiesResponse, error)

	/* This command lists all available physical video inputs of the device. */
	GetVideoSources(request *GetVideoSources) (*GetVideoSourcesResponse, error)

	GetVideoSourcesContext(ctx context.Context, request *GetVideoSources) (*GetVideoSourcesResponse, error)

	/* This command lists all available physical audio inputs of the device. */
	GetAudioSources(request *GetAudioSources) (*GetAudioSourcesResponse, error)

	GetAudioSourcesContext(ctx context.Context, request *GetAudioSources) (*GetAudioSourcesResponse, error)

	/* This command lists all available physical audio outputs of the device. */
	GetAudioOutputs(request *GetAudioOutputs) (*GetAudioOutputsResponse, error)

	GetAudioOutputsContext(ctx context.Context, request *GetAudioOutputs) (*GetAudioOutputsResponse, error)

	/* This operation creates a new empty media profile. The media profile shall be created in the
	device and shall be persistent (remain after reboot). A created profile shall be deletable and a device shall set the “fixed” attribute to false in the
	returned Profile. */
	CreateProfile(request *CreateProfile) (*CreateProfileResponse, error)

	CreateProfileContext(ctx context.Context, request *CreateProfile) (*CreateProfileResponse, error)

	/* If the profile token is already known, a profile can be fetched through the GetProfile command. */
	GetProfile(request *GetProfile) (*GetProfileResponse, error)

	GetProfileContext(ctx context.Context, request *GetProfile) (*GetProfileResponse, error)

	/* Any endpoint can ask for the existing media profiles of a device using the GetProfiles
	command. Pre-configured or dynamically configured profiles can be retrieved using this
	command. This command lists all configured profiles in a device. The client does not need to
	know the media profile in order to use the command. */
	GetProfiles(request *GetProfiles) (*GetProfilesResponse, error)

	GetProfilesContext(ctx context.Context, request *GetProfiles) (*GetProfilesResponse, error)

	/* This operation adds a VideoEncoderConfiguration to an existing media profile. If a
	configuration exists in the media profile, it will be replaced. The change shall be persistent. A device shall
	support adding a compatible VideoEncoderConfiguration to a Profile containing a VideoSourceConfiguration and shall
	support streaming video data of such a profile.
	*/
	AddVideoEncoderConfiguration(request *AddVideoEncoderConfiguration) (*AddVideoEncoderConfigurationResponse, error)

	AddVideoEncoderConfigurationContext(ctx context.Context, request *AddVideoEncoderConfiguration) (*AddVideoEncoderConfigurationResponse, error)

	/* This operation removes a VideoEncoderConfiguration from an existing media profile. If the
	media profile does not contain a VideoEncoderConfiguration, the operation has no effect. The removal shall be persistent. */
	RemoveVideoEncoderConfiguration(request *RemoveVideoEncoderConfiguration) (*RemoveVideoEncoderConfigurationResponse, error)

	RemoveVideoEncoderConfigurationContext(ctx context.Context, request *RemoveVideoEncoderConfiguration) (*RemoveVideoEncoderConfigurationResponse, error)

	/* This operation adds a VideoSourceConfiguration to an existing media profile. If such a
	configuration exists in the media profile, it will be replaced. The change shall be persistent. */
	AddVideoSourceConfiguration(request *AddVideoSourceConfiguration) (*AddVideoSourceConfigurationResponse, error)

	AddVideoSourceConfigurationContext(ctx context.Context, request *AddVideoSourceConfiguration) (*AddVideoSourceConfigurationResponse, error)

	/* This operation removes a VideoSourceConfiguration from an existing media profile. If the
	media profile does not contain a VideoSourceConfiguration, the operation has no effect. The removal shall be persistent. Video source configurations should only be removed after removing a
	VideoEncoderConfiguration from the media profile. */
	RemoveVideoSourceConfiguration(request *RemoveVideoSourceConfiguration) (*RemoveVideoSourceConfigurationResponse, error)

	RemoveVideoSourceConfigurationContext(ctx context.Context, request *RemoveVideoSourceConfiguration) (*RemoveVideoSourceConfigurationResponse, error)

	/* This operation adds an AudioEncoderConfiguration to an existing media profile. If a
	configuration exists in the media profile, it will be replaced. The change shall be persistent. A device shall
	support adding a compatible AudioEncoderConfiguration to a profile containing an AudioSourceConfiguration and shall
	support streaming audio data of such a profile.
	*/
	AddAudioEncoderConfiguration(request *AddAudioEncoderConfiguration) (*AddAudioEncoderConfigurationResponse, error)

	AddAudioEncoderConfigurationContext(ctx context.Context, request *AddAudioEncoderConfiguration) (*AddAudioEncoderConfigurationResponse, error)

	/* This operation removes an AudioEncoderConfiguration from an existing media profile. If the
	media profile does not contain an AudioEncoderConfiguration, the operation has no effect.
	The removal shall be persistent. */
	RemoveAudioEncoderConfiguration(request *RemoveAudioEncoderConfiguration) (*RemoveAudioEncoderConfigurationResponse, error)

	RemoveAudioEncoderConfigurationContext(ctx context.Context, request *RemoveAudioEncoderConfiguration) (*RemoveAudioEncoderConfigurationResponse, error)

	/* This operation adds an AudioSourceConfiguration to an existing media profile. If a
	configuration exists in the media profile, it will be replaced. The change shall be persistent. */
	AddAudioSourceConfiguration(request *AddAudioSourceConfiguration) (*AddAudioSourceConfigurationResponse, error)

	AddAudioSourceConfigurationContext(ctx context.Context, request *AddAudioSourceConfiguration) (*AddAudioSourceConfigurationResponse, error)

	/* This operation removes an AudioSourceConfiguration from an existing media profile. If the
	media profile does not contain an AudioSourceConfiguration, the operation has no effect. The
	removal shall be persistent. Audio source configurations should only be removed after removing an
	AudioEncoderConfiguration from the media profile. */
	RemoveAudioSourceConfiguration(request *RemoveAudioSourceConfiguration) (*RemoveAudioSourceConfigurationResponse, error)

	RemoveAudioSourceConfigurationContext(ctx context.Context, request *RemoveAudioSourceConfiguration) (*RemoveAudioSourceConfigurationResponse, error)

	/* This operation adds a PTZConfiguration to an existing media profile. If a configuration exists
	in the media profile, it will be replaced. The change shall be persistent. Adding a PTZConfiguration to a media profile means that streams using that media profile can
	contain PTZ status (in the metadata), and that the media profile can be used for controlling
	PTZ movement. */
	AddPTZConfiguration(request *AddPTZConfiguration) (*AddPTZConfigurationResponse, error)

	AddPTZConfigurationContext(ctx context.Context, request *AddPTZConfiguration) (*AddPTZConfigurationResponse, error)

	/* This operation removes a PTZConfiguration from an existing media profile. If the media profile
	does not contain a PTZConfiguration, the operation has no effect. The removal shall be persistent. */
	RemovePTZConfiguration(request *RemovePTZConfiguration) (*RemovePTZConfigurationResponse, error)

	RemovePTZConfigurationContext(ctx context.Context, request *RemovePTZConfiguration) (*RemovePTZConfigurationResponse, error)

	/* This operation adds a VideoAnalytics configuration to an existing media profile. If a
	configuration exists in the media profile, it will be replaced. The change shall be persistent. Adding a VideoAnalyticsConfiguration to a media profile means that streams using that media
	profile can contain video analytics data (in the metadata) as defined by the submitted configuration reference. A profile containing only a video analytics configuration but no video source configuration is incomplete. Therefore, a client should first add a video source configuration to a profile before adding a video analytics configuration. The device can deny adding of a video analytics
	configuration before a video source configuration. */
	AddVideoAnalyticsConfiguration(request *AddVideoAnalyticsConfiguration) (*AddVideoAnalyticsConfigurationResponse, error)

	AddVideoAnalyticsConfigurationContext(ctx context.Context, request *AddVideoAnalyticsConfiguration) (*AddVideoAnalyticsConfigurationResponse, error)

	/* This operation removes a VideoAnalyticsConfiguration from an existing media profile. If the media profile does not contain a VideoAnalyticsConfiguration, the operation has no effect.
	The removal shall be persistent. */
	RemoveVideoAnalyticsConfiguration(request *RemoveVideoAnalyticsConfiguration) (*RemoveVideoAnalyticsConfigurationResponse, error)

	RemoveVideoAnalyticsConfigurationContext(ctx context.Context, request *RemoveVideoAnalyticsConfiguration) (*RemoveVideoAnalyticsConfigurationResponse, error)

	/* This operation adds a Metadata configuration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. Adding a MetadataConfiguration to a Profile means that streams using that profile contain metadata. Metadata can consist of events, PTZ status, and/or video analytics data. */
	AddMetadataConfiguration(request *AddMetadataConfiguration) (*AddMetadataConfigurationResponse, error)

	AddMetadataConfigurationContext(ctx context.Context, request *AddMetadataConfiguration) (*AddMetadataConfigurationResponse, error)

	/* This operation removes a MetadataConfiguration from an existing media profile. If the media profile does not contain a MetadataConfiguration, the operation has no effect. The removal shall be persistent. */
	RemoveMetadataConfiguration(request *RemoveMetadataConfiguration) (*RemoveMetadataConfigurationResponse, error)

	RemoveMetadataConfigurationContext(ctx context.Context, request *RemoveMetadataConfiguration) (*RemoveMetadataConfigurationResponse, error)

	/* This operation adds an AudioOutputConfiguration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. */
	AddAudioOutputConfiguration(request *AddAudioOutputConfiguration) (*AddAudioOutputConfigurationResponse, error)

	AddAudioOutputConfigurationContext(ctx context.Context, request *AddAudioOutputConfiguration) (*AddAudioOutputConfigurationResponse, error)

	/* This operation removes an AudioOutputConfiguration from an existing media profile. If the media profile does not contain an AudioOutputConfiguration, the operation has no effect. The removal shall be persistent. */
	RemoveAudioOutputConfiguration(request *RemoveAudioOutputConfiguration) (*RemoveAudioOutputConfigurationResponse, error)

	RemoveAudioOutputConfigurationContext(ctx context.Context, request *RemoveAudioOutputConfiguration) (*RemoveAudioOutputConfigurationResponse, error)

	/* This operation adds an AudioDecoderConfiguration to an existing media profile. If a configuration exists in the media profile, it shall be replaced. The change shall be persistent. */
	AddAudioDecoderConfiguration(request *AddAudioDecoderConfiguration) (*AddAudioDecoderConfigurationResponse, error)

	AddAudioDecoderConfigurationContext(ctx context.Context, request *AddAudioDecoderConfiguration) (*AddAudioDecoderConfigurationResponse, error)

	/* This operation removes an AudioDecoderConfiguration from an existing media profile. If the media profile does not contain an AudioDecoderConfiguration, the operation has no effect. The removal shall be persistent. */
	RemoveAudioDecoderConfiguration(request *RemoveAudioDecoderConfiguration) (*RemoveAudioDecoderConfigurationResponse, error)

	RemoveAudioDecoderConfigurationContext(ctx context.Context, request *RemoveAudioDecoderConfiguration) (*RemoveAudioDecoderConfigurationResponse, error)

	/* This operation deletes a profile. This change shall always be persistent. Deletion of a profile is only possible for non-fixed profiles */
	DeleteProfile(request *DeleteProfile) (*DeleteProfileResponse, error)

	DeleteProfileContext(ctx context.Context, request *DeleteProfile) (*DeleteProfileResponse, error)

	/* This operation lists all existing video source configurations for a device. The client need not know anything about the video source configurations in order to use the command. */
	GetVideoSourceConfigurations(request *GetVideoSourceConfigurations) (*GetVideoSourceConfigurationsResponse, error)

	GetVideoSourceConfigurationsContext(ctx context.Context, request *GetVideoSourceConfigurations) (*GetVideoSourceConfigurationsResponse, error)

	/* This operation lists all existing video encoder configurations of a device. This command lists all configured video encoder configurations in a device. The client need not know anything apriori about the video encoder configurations in order to use the command. */
	GetVideoEncoderConfigurations(request *GetVideoEncoderConfigurations) (*GetVideoEncoderConfigurationsResponse, error)

	GetVideoEncoderConfigurationsContext(ctx context.Context, request *GetVideoEncoderConfigurations) (*GetVideoEncoderConfigurationsResponse, error)

	/* This operation lists all existing audio source configurations of a device. This command lists all audio source configurations in a device. The client need not know anything apriori about the audio source configurations in order to use the command. */
	GetAudioSourceConfigurations(request *GetAudioSourceConfigurations) (*GetAudioSourceConfigurationsResponse, error)

	GetAudioSourceConfigurationsContext(ctx context.Context, request *GetAudioSourceConfigurations) (*GetAudioSourceConfigurationsResponse, error)

	/* This operation lists all existing device audio encoder configurations. The client need not know anything apriori about the audio encoder configurations in order to use the command. */
	GetAudioEncoderConfigurations(request *GetAudioEncoderConfigurations) (*GetAudioEncoderConfigurationsResponse, error)

	GetAudioEncoderConfigurationsContext(ctx context.Context, request *GetAudioEncoderConfigurations) (*GetAudioEncoderConfigurationsResponse, error)

	/* This operation lists all video analytics configurations of a device. This command lists all configured video analytics in a device. The client need not know anything apriori about the video analytics in order to use the command. */
	GetVideoAnalyticsConfigurations(request *GetVideoAnalyticsConfigurations) (*GetVideoAnalyticsConfigurationsResponse, error)

	GetVideoAnalyticsConfigurationsContext(ctx context.Context, request *GetVideoAnalyticsConfigurations) (*GetVideoAnalyticsConfigurationsResponse, error)

	/* This operation lists all existing metadata configurations. The client need not know anything apriori about the metadata in order to use the command. */
	GetMetadataConfigurations(request *GetMetadataConfigurations) (*GetMetadataConfigurationsResponse, error)

	GetMetadataConfigurationsContext(ctx context.Context, request *GetMetadataConfigurations) (*GetMetadataConfigurationsResponse, error)

	/* This command lists all existing AudioOutputConfigurations of a device. The NVC need not know anything apriori about the audio configurations to use this command. */
	GetAudioOutputConfigurations(request *GetAudioOutputConfigurations) (*GetAudioOutputConfigurationsResponse, error)

	GetAudioOutputConfigurationsContext(ctx context.Context, request *GetAudioOutputConfigurations) (*GetAudioOutputConfigurationsResponse, error)

	/* This command lists all existing AudioDecoderConfigurations of a device. The NVC need not know anything apriori about the audio decoder configurations in order to
	use this command. */
	GetAudioDecoderConfigurations(request *GetAudioDecoderConfigurations) (*GetAudioDecoderConfigurationsResponse, error)

	GetAudioDecoderConfigurationsContext(ctx context.Context, request *GetAudioDecoderConfigurations) (*GetAudioDecoderConfigurationsResponse, error)

	/* If the video source configuration token is already known, the video source configuration can be fetched through the GetVideoSourceConfiguration command. */
	GetVideoSourceConfiguration(request *GetVideoSourceConfiguration) (*GetVideoSourceConfigurationResponse, error)

	GetVideoSourceConfigurationContext(ctx context.Context, request *GetVideoSourceConfiguration) (*GetVideoSourceConfigurationResponse, error)

	/* If the video encoder configuration token is already known, the encoder configuration can be fetched through the GetVideoEncoderConfiguration command. */
	GetVideoEncoderConfiguration(request *GetVideoEncoderConfiguration) (*GetVideoEncoderConfigurationResponse, error)

	GetVideoEncoderConfigurationContext(ctx context.Context, request *GetVideoEncoderConfiguration) (*GetVideoEncoderConfigurationResponse, error)

	/* The GetAudioSourceConfiguration command fetches the audio source configurations if the audio source configuration token is already known. An */
	GetAudioSourceConfiguration(request *GetAudioSourceConfiguration) (*GetAudioSourceConfigurationResponse, error)

	GetAudioSourceConfigurationContext(ctx context.Context, request *GetAudioSourceConfiguration) (*GetAudioSourceConfigurationResponse, error)

	/* The GetAudioEncoderConfiguration command fetches the encoder configuration if the audio encoder configuration token is known. */
	GetAudioEncoderConfiguration(request *GetAudioEncoderConfiguration) (*GetAudioEncoderConfigurationResponse, error)

	GetAudioEncoderConfigurationContext(ctx context.Context, request *GetAudioEncoderConfiguration) (*GetAudioEncoderConfigurationResponse, error)

	/* The GetVideoAnalyticsConfiguration command fetches the video analytics configuration if the video analytics token is known. */
	GetVideoAnalyticsConfiguration(request *GetVideoAnalyticsConfiguration) (*GetVideoAnalyticsConfigurationResponse, error)

	GetVideoAnalyticsConfigurationContext(ctx context.Context, request *GetVideoAnalyticsConfiguration) (*GetVideoAnalyticsConfigurationResponse, error)

	/* The GetMetadataConfiguration command fetches the metadata configuration if the metadata token is known. */
	GetMetadataConfiguration(request *GetMetadataConfiguration) (*GetMetadataConfigurationResponse, error)

	GetMetadataConfigurationContext(ctx context.Context, request *GetMetadataConfiguration) (*GetMetadataConfigurationResponse, error)

	/* If the audio output configuration token is already known, the output configuration can be fetched through the GetAudioOutputConfiguration command. */
	GetAudioOutputConfiguration(request *GetAudioOutputConfiguration) (*GetAudioOutputConfigurationResponse, error)

	GetAudioOutputConfigurationContext(ctx context.Context, request *GetAudioOutputConfiguration) (*GetAudioOutputConfigurationResponse, error)

	/* If the audio decoder configuration token is already known, the decoder configuration can be fetched through the GetAudioDecoderConfiguration command. */
	GetAudioDecoderConfiguration(request *GetAudioDecoderConfiguration) (*GetAudioDecoderConfigurationResponse, error)

	GetAudioDecoderConfigurationContext(ctx context.Context, request *GetAudioDecoderConfiguration) (*GetAudioDecoderConfigurationResponse, error)

	/* This operation lists all the video encoder configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddVideoEncoderConfiguration command on the media profile. The result will vary depending on the capabilities, configurations and settings in the device. */
	GetCompatibleVideoEncoderConfigurations(request *GetCompatibleVideoEncoderConfigurations) (*GetCompatibleVideoEncoderConfigurationsResponse, error)

	GetCompatibleVideoEncoderConfigurationsContext(ctx context.Context, request *GetCompatibleVideoEncoderConfigurations) (*GetCompatibleVideoEncoderConfigurationsResponse, error)

	/* This operation requests all the video source configurations of the device that are compatible
	with a certain media profile. Each of the returned configurations shall be a valid input
	parameter for the AddVideoSourceConfiguration command on the media profile. The result
	will vary depending on the capabilities, configurations and settings in the device. */
	GetCompatibleVideoSourceConfigurations(request *GetCompatibleVideoSourceConfigurations) (*GetCompatibleVideoSourceConfigurationsResponse, error)

	GetCompatibleVideoSourceConfigurationsContext(ctx context.Context, request *GetCompatibleVideoSourceConfigurations) (*GetCompatibleVideoSourceConfigurationsResponse, error)

	/* This operation requests all audio encoder configurations of a device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddAudioSourceConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. */
	GetCompatibleAudioEncoderConfigurations(request *GetCompatibleAudioEncoderConfigurations) (*GetCompatibleAudioEncoderConfigurationsResponse, error)

	GetCompatibleAudioEncoderConfigurationsContext(ctx context.Context, request *GetCompatibleAudioEncoderConfigurations) (*GetCompatibleAudioEncoderConfigurationsResponse, error)

	/* This operation requests all audio source configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddAudioEncoderConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. */
	GetCompatibleAudioSourceConfigurations(request *GetCompatibleAudioSourceConfigurations) (*GetCompatibleAudioSourceConfigurationsResponse, error)

	GetCompatibleAudioSourceConfigurationsContext(ctx context.Context, request *GetCompatibleAudioSourceConfigurations) (*GetCompatibleAudioSourceConfigurationsResponse, error)

	/* This operation requests all video analytic configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddVideoAnalyticsConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. */
	GetCompatibleVideoAnalyticsConfigurations(request *GetCompatibleVideoAnalyticsConfigurations) (*GetCompatibleVideoAnalyticsConfigurationsResponse, error)

	GetCompatibleVideoAnalyticsConfigurationsContext(ctx context.Context, request *GetCompatibleVideoAnalyticsConfigurations) (*GetCompatibleVideoAnalyticsConfigurationsResponse, error)

	/* This operation requests all the metadata configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddMetadataConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. */
	GetCompatibleMetadataConfigurations(request *GetCompatibleMetadataConfigurations) (*GetCompatibleMetadataConfigurationsResponse, error)

	GetCompatibleMetadataConfigurationsContext(ctx context.Context, request *GetCompatibleMetadataConfigurations) (*GetCompatibleMetadataConfigurationsResponse, error)

	/* This command lists all audio output configurations of a device that are compatible with a certain media profile. Each returned configuration shall be a valid input for the
	AddAudioOutputConfiguration command. */
	GetCompatibleAudioOutputConfigurations(request *GetCompatibleAudioOutputConfigurations) (*GetCompatibleAudioOutputConfigurationsResponse, error)

	GetCompatibleAudioOutputConfigurationsContext(ctx context.Context, request *GetCompatibleAudioOutputConfigurations) (*GetCompatibleAudioOutputConfigurationsResponse, error)

	/* This operation lists all the audio decoder configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddAudioDecoderConfiguration command on the media profile. */
	GetCompatibleAudioDecoderConfigurations(request *GetCompatibleAudioDecoderConfigurations) (*GetCompatibleAudioDecoderConfigurationsResponse, error)

	GetCompatibleAudioDecoderConfigurationsContext(ctx context.Context, request *GetCompatibleAudioDecoderConfigurations) (*GetCompatibleAudioDecoderConfigurationsResponse, error)

	/* This operation modifies a video source configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. Running streams using this configuration may be immediately updated according to the new settings. The changes are not guaranteed to take effect unless the client requests a new stream URI and restarts any affected stream. NVC methods for changing a running stream are out of scope for this specification. */
	SetVideoSourceConfiguration(request *SetVideoSourceConfiguration) (*SetVideoSourceConfigurationResponse, error)

	SetVideoSourceConfigurationContext(ctx context.Context, request *SetVideoSourceConfiguration) (*SetVideoSourceConfigurationResponse, error)

	/* This operation modifies a video encoder configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. Changes in the Multicast settings shall always be persistent. Running streams using this configuration may be immediately updated according to the new settings. The changes are not guaranteed to take effect unless the client requests a new stream URI and restarts any affected stream. NVC methods for changing a running stream are out of scope for this specification. SessionTimeout is provided as a hint for keeping rtsp session by a device. If necessary the device may adapt parameter values for SessionTimeout elements without returning an error. For the time between keep alive calls the client shall adhere to the timeout value signaled via RTSP. */
	SetVideoEncoderConfiguration(request *SetVideoEncoderConfiguration) (*SetVideoEncoderConfigurationResponse, error)

	SetVideoEncoderConfigurationContext(ctx context.Context, request *SetVideoEncoderConfiguration) (*SetVideoEncoderConfigurationResponse, error)

	/* This operation modifies an audio source configuration. The ForcePersistence flag indicates if
	the changes shall remain after reboot of the device. Running streams using this configuration
	may be immediately updated according to the new settings. The changes are not guaranteed
	to take effect unless the client requests a new stream URI and restarts any affected stream
	NVC methods for changing a running stream are out of scope for this specification. */
	SetAudioSourceConfiguration(request *SetAudioSourceConfiguration) (*SetAudioSourceConfigurationResponse, error)

	SetAudioSourceConfigurationContext(ctx context.Context, request *SetAudioSourceConfiguration) (*SetAudioSourceConfigurationResponse, error)

	/* This operation modifies an audio encoder configuration. The ForcePersistence flag indicates if
	the changes shall remain after reboot of the device. Running streams using this configuration may be immediately updated
	according to the new settings. The changes are not guaranteed to take effect unless the client
	requests a new stream URI and restarts any affected streams. NVC methods for changing a
	running stream are out of scope for this specification. */
	SetAudioEncoderConfiguration(request *SetAudioEncoderConfiguration) (*SetAudioEncoderConfigurationResponse, error)

	SetAudioEncoderConfigurationContext(ctx context.Context, request *SetAudioEncoderConfiguration) (*SetAudioEncoderConfigurationResponse, error)

	/* A video analytics configuration is modified using this command. The ForcePersistence flag
	indicates if the changes shall remain after reboot of the device or not. Running streams using
	this configuration shall be immediately updated according to the new settings. Otherwise
	inconsistencies can occur between the scene description processed by the rule engine and
	the notifications produced by analytics engine and rule engine which reference the very same
	video analytics configuration token. */
	SetVideoAnalyticsConfiguration(request *SetVideoAnalyticsConfiguration) (*SetVideoAnalyticsConfigurationResponse, error)

	SetVideoAnalyticsConfigurationContext(ctx context.Context, request *SetVideoAnalyticsConfiguration) (*SetVideoAnalyticsConfigurationResponse, error)

	/* This operation modifies a metadata configuration. The ForcePersistence flag indicates if the
	changes shall remain after reboot of the device. Changes in the Multicast settings shall
	always be persistent. Running streams using this configuration may be updated immediately
	according to the new settings. The changes are not guaranteed to take effect unless the client
	requests a new stream URI and restarts any affected streams. NVC methods for changing a
	running stream are out of scope for this specification. */
	SetMetadataConfiguration(request *SetMetadataConfiguration) (*SetMetadataConfigurationResponse, error)

	SetMetadataConfigurationContext(ctx context.Context, request *SetMetadataConfiguration) (*SetMetadataConfigurationResponse, error)

	/* This operation modifies an audio output configuration. The ForcePersistence flag indicates if
	the changes shall remain after reboot of the device. */
	SetAudioOutputConfiguration(request *SetAudioOutputConfiguration) (*SetAudioOutputConfigurationResponse, error)

	SetAudioOutputConfigurationContext(ctx context.Context, request *SetAudioOutputConfiguration) (*SetAudioOutputConfigurationResponse, error)

	/* This operation modifies an audio decoder configuration. The ForcePersistence flag indicates if
	the changes shall remain after reboot of the device. */
	SetAudioDecoderConfiguration(request *SetAudioDecoderConfiguration) (*SetAudioDecoderConfigurationResponse, error)

	SetAudioDecoderConfigurationContext(ctx context.Context, request *SetAudioDecoderConfiguration) (*SetAudioDecoderConfigurationResponse, error)

	/* This operation returns the available options  (supported values and ranges for video source configuration parameters) when the video source parameters are
	reconfigured If a video source configuration is specified, the options shall concern that
	particular configuration. If a media profile is specified, the options shall be compatible with
	that media profile. */
	GetVideoSourceConfigurationOptions(request *GetVideoSourceConfigurationOptions) (*GetVideoSourceConfigurationOptionsResponse, error)

	GetVideoSourceConfigurationOptionsContext(ctx context.Context, request *GetVideoSourceConfigurationOptions) (*GetVideoSourceConfigurationOptionsResponse, error)

	/* This operation returns the available options (supported values and ranges for video encoder
	configuration parameters) when the video encoder parameters are reconfigured.
	For JPEG, MPEG4 and H264 extension elements have been defined that provide additional information. A device must provide the
	XxxOption information for all encodings supported and should additionally provide the corresponding XxxOption2 information.
	This response contains the available video encoder configuration options. If a video encoder configuration is specified,
	the options shall concern that particular configuration. If a media profile is specified, the options shall be
	compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device.
	*/
	GetVideoEncoderConfigurationOptions(request *GetVideoEncoderConfigurationOptions) (*GetVideoEncoderConfigurationOptionsResponse, error)

	GetVideoEncoderConfigurationOptionsContext(ctx context.Context, request *GetVideoEncoderConfigurationOptions) (*GetVideoEncoderConfigurationOptionsResponse, error)

	/* This operation returns the available options (supported values and ranges for audio source configuration parameters) when the audio source parameters are
	reconfigured. If an audio source configuration is specified, the options shall concern that
	particular configuration. If a media profile is specified, the options shall be compatible with
	that media profile. */
	GetAudioSourceConfigurationOptions(request *GetAudioSourceConfigurationOptions) (*GetAudioSourceConfigurationOptionsResponse, error)

	GetAudioSourceConfigurationOptionsContext(ctx context.Context, request *GetAudioSourceConfigurationOptions) (*GetAudioSourceConfigurationOptionsResponse, error)

	/* This operation returns the available options  (supported values and ranges for audio encoder configuration parameters) when the audio encoder parameters are
	reconfigured. */
	GetAudioEncoderConfigurationOptions(request *GetAudioEncoderConfigurationOptions) (*GetAudioEncoderConfigurationOptionsResponse, error)

	GetAudioEncoderConfigurationOptionsContext(ctx context.Context, request *GetAudioEncoderConfigurationOptions) (*GetAudioEncoderConfigurationOptionsResponse, error)

	/* This operation returns the available options (supported values and ranges for metadata configuration parameters) for changing the metadata configuration. */
	GetMetadataConfigurationOptions(request *GetMetadataConfigurationOptions) (*GetMetadataConfigurationOptionsResponse, error)

	GetMetadataConfigurationOptionsContext(ctx context.Context, request *GetMetadataConfigurationOptions) (*GetMetadataConfigurationOptionsResponse, error)

	/* This operation returns the available options (supported values and ranges for audio output configuration parameters) for configuring an audio output. */
	GetAudioOutputConfigurationOptions(request *GetAudioOutputConfigurationOptions) (*GetAudioOutputConfigurationOptionsResponse, error)

	GetAudioOutputConfigurationOptionsContext(ctx context.Context, request *GetAudioOutputConfigurationOptions) (*GetAudioOutputConfigurationOptionsResponse, error)

	/* This command list the audio decoding capabilities for a given profile and configuration of a
	device. */
	GetAudioDecoderConfigurationOptions(request *GetAudioDecoderConfigurationOptions) (*GetAudioDecoderConfigurationOptionsResponse, error)

	GetAudioDecoderConfigurationOptionsContext(ctx context.Context, request *GetAudioDecoderConfigurationOptions) (*GetAudioDecoderConfigurationOptionsResponse, error)

	/* The GetGuaranteedNumberOfVideoEncoderInstances command can be used to request the
	minimum number of guaranteed video encoder instances (applications) per Video Source
	Configuration. */
	GetGuaranteedNumberOfVideoEncoderInstances(request *GetGuaranteedNumberOfVideoEncoderInstances) (*GetGuaranteedNumberOfVideoEncoderInstancesResponse, error)

	GetGuaranteedNumberOfVideoEncoderInstancesContext(ctx context.Context, request *GetGuaranteedNumberOfVideoEncoderInstances) (*GetGuaranteedNumberOfVideoEncoderInstancesResponse, error)

	/* This operation requests a URI that can be used to initiate a live media stream using RTSP as
	the control protocol. The returned URI shall remain valid indefinitely even if the profile is
	changed. The ValidUntilConnect, ValidUntilReboot and Timeout Parameter shall be set
	accordingly (ValidUntilConnect=false, ValidUntilReboot=false, timeout=PT0S).
					The correct syntax for the StreamSetup element for these media stream setups defined in 5.1.1 of the streaming specification are as follows:


	If a multicast stream is requested at least one of VideoEncoderConfiguration, AudioEncoderConfiguration and MetadataConfiguration shall have a valid multicast setting.
	For full compatibility with other ONVIF services a device should not generate Uris longer than
	128 octets. */
	GetStreamUri(request *GetStreamUri) (*GetStreamUriResponse, error)

	GetStreamUriContext(ctx context.Context, request *GetStreamUri) (*GetStreamUriResponse, error)

	/* This command starts multicast streaming using a specified media profile of a device.
	Streaming continues until StopMulticastStreaming is called for the same Profile. The
	streaming shall continue after a reboot of the device until a StopMulticastStreaming request is
	received. The multicast address, port and TTL are configured in the
	VideoEncoderConfiguration, AudioEncoderConfiguration and MetadataConfiguration
	respectively. */
	StartMulticastStreaming(request *StartMulticastStreaming) (*StartMulticastStreamingResponse, error)

	StartMulticastStreamingContext(ctx context.Context, request *StartMulticastStreaming) (*StartMulticastStreamingResponse, error)

	/* This command stop multicast streaming using a specified media profile of a device */
	StopMulticastStreaming(request *StopMulticastStreaming) (*StopMulticastStreamingResponse, error)

	StopMulticastStreamingContext(ctx context.Context, request *StopMulticastStreaming) (*StopMulticastStreamingResponse, error)

	/* Synchronization points allow clients to decode and correctly use all data after the
	synchronization point.
	For example, if a video stream is configured with a large I-frame distance and a client loses a
	single packet, the client does not display video until the next I-frame is transmitted. In such
	cases, the client can request a Synchronization Point which enforces the device to add an I-Frame as soon as possible. Clients can request Synchronization Points for profiles. The device
	shall add synchronization points for all streams associated with this profile.
	Similarly, a synchronization point is used to get an update on full PTZ or event status through
	the metadata stream.
	If a video stream is associated with the profile, an I-frame shall be added to this video stream.
	If a PTZ metadata stream is associated to the profile,
	the PTZ position shall be repeated within the metadata stream. */
	SetSynchronizationPoint(request *SetSynchronizationPoint) (*SetSynchronizationPointResponse, error)

	SetSynchronizationPointContext(ctx context.Context, request *SetSynchronizationPoint) (*SetSynchronizationPointResponse, error)

	/* A client uses the GetSnapshotUri command to obtain a JPEG snapshot from the
	device. The returned URI shall remain valid indefinitely even if the profile is changed. The
	ValidUntilConnect, ValidUntilReboot and Timeout Parameter shall be set accordingly
	(ValidUntilConnect=false, ValidUntilReboot=false, timeout=PT0S). The URI can be used for
	acquiring a JPEG image through a HTTP GET operation. The image encoding will always be
	JPEG regardless of the encoding setting in the media profile. The Jpeg settings
	(like resolution or quality) may be taken from the profile if suitable. The provided
	image will be updated automatically and independent from calls to GetSnapshotUri. */
	GetSnapshotUri(request *GetSnapshotUri) (*GetSnapshotUriResponse, error)

	GetSnapshotUriContext(ctx context.Context, request *GetSnapshotUri) (*GetSnapshotUriResponse, error)

	/* A device returns the information for current video source mode and settable video source modes of specified video source. A device that indicates a capability of  VideoSourceModes shall support this command. */
	GetVideoSourceModes(request *GetVideoSourceModes) (*GetVideoSourceModesResponse, error)

	GetVideoSourceModesContext(ctx context.Context, request *GetVideoSourceModes) (*GetVideoSourceModesResponse, error)

	/* SetVideoSourceMode changes the media profile structure relating to video source for the specified video source mode. A device that indicates a capability of VideoSourceModes shall support this command. The behavior after changing the mode is not defined in this specification. */
	SetVideoSourceMode(request *SetVideoSourceMode) (*SetVideoSourceModeResponse, error)

	SetVideoSourceModeContext(ctx context.Context, request *SetVideoSourceMode) (*SetVideoSourceModeResponse, error)

	/* Get the OSDs. */
	GetOSDs(request *GetOSDs) (*GetOSDsResponse, error)

	GetOSDsContext(ctx context.Context, request *GetOSDs) (*GetOSDsResponse, error)

	/* Get the OSD. */
	GetOSD(request *GetOSD) (*GetOSDResponse, error)

	GetOSDContext(ctx context.Context, request *GetOSD) (*GetOSDResponse, error)

	/* Get the OSD Options. */
	GetOSDOptions(request *GetOSDOptions) (*GetOSDOptionsResponse, error)

	GetOSDOptionsContext(ctx context.Context, request *GetOSDOptions) (*GetOSDOptionsResponse, error)

	/* Set the OSD */
	SetOSD(request *SetOSD) (*SetOSDResponse, error)

	SetOSDContext(ctx context.Context, request *SetOSD) (*SetOSDResponse, error)

	/* Create the OSD. */
	CreateOSD(request *CreateOSD) (*CreateOSDResponse, error)

	CreateOSDContext(ctx context.Context, request *CreateOSD) (*CreateOSDResponse, error)

	/* Delete the OSD. */
	DeleteOSD(request *DeleteOSD) (*DeleteOSDResponse, error)

	DeleteOSDContext(ctx context.Context, request *DeleteOSD) (*DeleteOSDResponse, error)
}

func NewMedia

func NewMedia(client *soap.Client) Media

type ProfileCapabilities

type ProfileCapabilities struct {
	Items []string `xml:",any" json:"items,omitempty"`

	MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver10/media/wsdl MaximumNumberOfProfiles,attr,omitempty" json:"MaximumNumberOfProfiles,omitempty"`
}

type RemoveAudioDecoderConfiguration

type RemoveAudioDecoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioDecoderConfiguration" json:"-"`

	// This element contains a  reference to the media profile from which the AudioDecoderConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveAudioDecoderConfigurationResponse

type RemoveAudioDecoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioDecoderConfigurationResponse" json:"-"`
}

type RemoveAudioEncoderConfiguration

type RemoveAudioEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioEncoderConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// AudioEncoderConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveAudioEncoderConfigurationResponse

type RemoveAudioEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioEncoderConfigurationResponse" json:"-"`
}

type RemoveAudioOutputConfiguration

type RemoveAudioOutputConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioOutputConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// AudioOutputConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveAudioOutputConfigurationResponse

type RemoveAudioOutputConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioOutputConfigurationResponse" json:"-"`
}

type RemoveAudioSourceConfiguration

type RemoveAudioSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioSourceConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// AudioSourceConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveAudioSourceConfigurationResponse

type RemoveAudioSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveAudioSourceConfigurationResponse" json:"-"`
}

type RemoveMetadataConfiguration

type RemoveMetadataConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveMetadataConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// MetadataConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveMetadataConfigurationResponse

type RemoveMetadataConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveMetadataConfigurationResponse" json:"-"`
}

type RemovePTZConfiguration

type RemovePTZConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemovePTZConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// PTZConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemovePTZConfigurationResponse

type RemovePTZConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemovePTZConfigurationResponse" json:"-"`
}

type RemoveVideoAnalyticsConfiguration

type RemoveVideoAnalyticsConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveVideoAnalyticsConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// VideoAnalyticsConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveVideoAnalyticsConfigurationResponse

type RemoveVideoAnalyticsConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveVideoAnalyticsConfigurationResponse" json:"-"`
}

type RemoveVideoEncoderConfiguration

type RemoveVideoEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveVideoEncoderConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// VideoEncoderConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveVideoEncoderConfigurationResponse

type RemoveVideoEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveVideoEncoderConfigurationResponse" json:"-"`
}

type RemoveVideoSourceConfiguration

type RemoveVideoSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveVideoSourceConfiguration" json:"-"`

	// Contains a reference to the media profile from which the
	// VideoSourceConfiguration shall be removed.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type RemoveVideoSourceConfigurationResponse

type RemoveVideoSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl RemoveVideoSourceConfigurationResponse" json:"-"`
}

type SetAudioDecoderConfiguration

type SetAudioDecoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioDecoderConfiguration" json:"-"`

	// Contains the modified audio decoder configuration. The configuration shall exist in the device.
	Configuration *tt.AudioDecoderConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetAudioDecoderConfigurationResponse

type SetAudioDecoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioDecoderConfigurationResponse" json:"-"`
}

type SetAudioEncoderConfiguration

type SetAudioEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioEncoderConfiguration" json:"-"`

	// Contains the modified audio encoder configuration. The configuration shall exist in the device.
	Configuration *tt.AudioEncoderConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetAudioEncoderConfigurationResponse

type SetAudioEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioEncoderConfigurationResponse" json:"-"`
}

type SetAudioOutputConfiguration

type SetAudioOutputConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioOutputConfiguration" json:"-"`

	// Contains the modified audio output configuration. The configuration shall exist in the device.
	Configuration *tt.AudioOutputConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetAudioOutputConfigurationResponse

type SetAudioOutputConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioOutputConfigurationResponse" json:"-"`
}

type SetAudioSourceConfiguration

type SetAudioSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioSourceConfiguration" json:"-"`

	// Contains the modified audio source configuration. The configuration shall exist in the device.
	Configuration *tt.AudioSourceConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetAudioSourceConfigurationResponse

type SetAudioSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetAudioSourceConfigurationResponse" json:"-"`
}

type SetMetadataConfiguration

type SetMetadataConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetMetadataConfiguration" json:"-"`

	// Contains the modified metadata configuration. The configuration shall exist in the device.
	Configuration *tt.MetadataConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetMetadataConfigurationResponse

type SetMetadataConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetMetadataConfigurationResponse" json:"-"`
}

type SetOSD

type SetOSD struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetOSD" json:"-"`

	// Contains the modified OSD configuration.
	OSD *tt.OSDConfiguration `xml:"OSD,omitempty" json:"OSD,omitempty"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type SetOSDResponse

type SetOSDResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetOSDResponse" json:"-"`

	Items []string `xml:",any" json:"items,omitempty"`
}

type SetSynchronizationPoint

type SetSynchronizationPoint struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetSynchronizationPoint" json:"-"`

	// Contains a Profile reference for which a Synchronization Point is requested.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type SetSynchronizationPointResponse

type SetSynchronizationPointResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetSynchronizationPointResponse" json:"-"`
}

type SetVideoAnalyticsConfiguration

type SetVideoAnalyticsConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoAnalyticsConfiguration" json:"-"`

	// Contains the modified video analytics configuration. The configuration shall exist in the device.
	Configuration *tt.VideoAnalyticsConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetVideoAnalyticsConfigurationResponse

type SetVideoAnalyticsConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoAnalyticsConfigurationResponse" json:"-"`
}

type SetVideoEncoderConfiguration

type SetVideoEncoderConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoEncoderConfiguration" json:"-"`

	// Contains the modified video encoder configuration. The configuration shall exist in the device.
	Configuration *tt.VideoEncoderConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetVideoEncoderConfigurationResponse

type SetVideoEncoderConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoEncoderConfigurationResponse" json:"-"`
}

type SetVideoSourceConfiguration

type SetVideoSourceConfiguration struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoSourceConfiguration" json:"-"`

	// Contains the modified video source configuration. The configuration shall exist in the device.
	Configuration *tt.VideoSourceConfiguration `xml:"Configuration,omitempty" json:"Configuration,omitempty"`

	// The ForcePersistence element is obsolete and should always be assumed to be true.
	ForcePersistence bool `xml:"ForcePersistence,omitempty" json:"ForcePersistence,omitempty"`
}

type SetVideoSourceConfigurationResponse

type SetVideoSourceConfigurationResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoSourceConfigurationResponse" json:"-"`
}

type SetVideoSourceMode

type SetVideoSourceMode struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoSourceMode" json:"-"`

	// Contains a video source reference for which a video source mode is requested.
	VideoSourceToken *tt.ReferenceToken `xml:"VideoSourceToken,omitempty" json:"VideoSourceToken,omitempty"`

	// Indicate video source mode.
	VideoSourceModeToken *tt.ReferenceToken `xml:"VideoSourceModeToken,omitempty" json:"VideoSourceModeToken,omitempty"`
}

type SetVideoSourceModeResponse

type SetVideoSourceModeResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl SetVideoSourceModeResponse" json:"-"`

	// The response contains information about rebooting after returning response. When Reboot is set true, a device will reboot automatically after setting mode.
	Reboot bool `xml:"Reboot,omitempty" json:"Reboot,omitempty"`
}

type StartMulticastStreaming

type StartMulticastStreaming struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl StartMulticastStreaming" json:"-"`

	// Contains the token of the Profile that is used to define the multicast stream.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type StartMulticastStreamingResponse

type StartMulticastStreamingResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl StartMulticastStreamingResponse" json:"-"`
}

type StopMulticastStreaming

type StopMulticastStreaming struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl StopMulticastStreaming" json:"-"`

	// Contains the token of the Profile that is used to define the multicast stream.
	ProfileToken *tt.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type StopMulticastStreamingResponse

type StopMulticastStreamingResponse struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl StopMulticastStreamingResponse" json:"-"`
}

type StreamingCapabilities

type StreamingCapabilities struct {
	Items []string `xml:",any" json:"items,omitempty"`

	RTPMulticast bool `xml:"http://www.onvif.org/ver10/media/wsdl RTPMulticast,attr,omitempty" json:"RTPMulticast,omitempty"`

	RTP_TCP bool `xml:"http://www.onvif.org/ver10/media/wsdl RTP_TCP,attr,omitempty" json:"RTP_TCP,omitempty"`

	RTP_RTSP_TCP bool `xml:"http://www.onvif.org/ver10/media/wsdl RTP_RTSP_TCP,attr,omitempty" json:"RTP_RTSP_TCP,omitempty"`

	NonAggregateControl bool `xml:"http://www.onvif.org/ver10/media/wsdl NonAggregateControl,attr,omitempty" json:"NonAggregateControl,omitempty"`

	NoRTSPStreaming bool `xml:"http://www.onvif.org/ver10/media/wsdl NoRTSPStreaming,attr,omitempty" json:"NoRTSPStreaming,omitempty"`
}

type VideoSourceMode

type VideoSourceMode struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl VideoSourceModes" json:"-"`

	// Max frame rate in frames per second for this video source mode.
	MaxFramerate float32 `xml:"MaxFramerate,omitempty" json:"MaxFramerate,omitempty"`

	// Max horizontal and vertical resolution for this video source mode.
	MaxResolution *tt.VideoResolution `xml:"MaxResolution,omitempty" json:"MaxResolution,omitempty"`

	// Indication which encodings are supported for this video source. The list may contain one or more enumeration values of tt:VideoEncoding.
	Encodings *tt.StringList `xml:"Encodings,omitempty" json:"Encodings,omitempty"`

	// After setting the mode if a device starts to reboot this value is true. If a device change the mode without rebooting this value is false. If true, configured parameters may not be guaranteed by the device after rebooting.
	Reboot bool `xml:"Reboot,omitempty" json:"Reboot,omitempty"`

	// Informative description of this video source mode. This field should be described in English.
	Description *tt.Description `xml:"Description,omitempty" json:"Description,omitempty"`

	Extension *VideoSourceModeExtension `xml:"Extension,omitempty" json:"Extension,omitempty"`

	Token *tt.ReferenceToken `xml:"http://www.onvif.org/ver10/media/wsdl token,attr,omitempty" json:"token,omitempty"`

	Enabled bool `xml:"http://www.onvif.org/ver10/media/wsdl Enabled,attr,omitempty" json:"Enabled,omitempty"`
}

type VideoSourceModeExtension

type VideoSourceModeExtension struct {
	XMLName xml.Name `xml:"http://www.onvif.org/ver10/media/wsdl Extension" json:"-"`

	Items []string `xml:",any" json:"items,omitempty"`
}

Jump to

Keyboard shortcuts

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