media

package
v0.0.0-...-2ce4e84 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 6 Imported by: 0

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"`

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

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

type AddAudioDecoderConfigurationResponse

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

type AddAudioEncoderConfiguration

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

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

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

type AddAudioEncoderConfigurationResponse

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

type AddAudioOutputConfiguration

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

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

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

type AddAudioOutputConfigurationResponse

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

type AddAudioSourceConfiguration

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

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

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

type AddAudioSourceConfigurationResponse

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

type AddMetadataConfiguration

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

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

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

type AddMetadataConfigurationResponse

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

type AddPTZConfiguration

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

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

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

type AddPTZConfigurationResponse

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

type AddVideoAnalyticsConfiguration

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

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

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

type AddVideoAnalyticsConfigurationResponse

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

type AddVideoEncoderConfiguration

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

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

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

type AddVideoEncoderConfigurationResponse

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

type AddVideoSourceConfiguration

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

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

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

type AddVideoSourceConfigurationResponse

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

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"`

	// Contain the initial OSD configuration for create.
	OSD *onvif.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"`

	// Returns Token of the newly created OSD
	OSDToken *onvif.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"`

	// friendly name of the profile to be created
	Name *xsd.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 *onvif.ReferenceToken `xml:"Token,omitempty" json:"Token,omitempty"`
}

type CreateProfileResponse

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

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

type DeleteOSD

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

	// This element contains a reference to the OSD configuration that should be deleted.
	OSDToken *onvif.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"`

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

type DeleteProfile

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

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

type DeleteProfileResponse

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

type GetAudioDecoderConfiguration

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

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

type GetAudioDecoderConfigurationOptions

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

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

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

type GetAudioDecoderConfigurationOptionsResponse

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

	// 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 *onvif.AudioDecoderConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioDecoderConfigurationResponse

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

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

type GetAudioDecoderConfigurations

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

type GetAudioDecoderConfigurationsResponse

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

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

type GetAudioEncoderConfiguration

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

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

type GetAudioEncoderConfigurationOptions

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

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

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

type GetAudioEncoderConfigurationOptionsResponse

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

	// 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 *onvif.AudioEncoderConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioEncoderConfigurationResponse

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

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

type GetAudioEncoderConfigurations

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

type GetAudioEncoderConfigurationsResponse

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

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

type GetAudioOutputConfiguration

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

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

type GetAudioOutputConfigurationOptions

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

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

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

type GetAudioOutputConfigurationOptionsResponse

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

	// 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 *onvif.AudioOutputConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioOutputConfigurationResponse

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

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

type GetAudioOutputConfigurations

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

type GetAudioOutputConfigurationsResponse

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

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

type GetAudioOutputs

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

type GetAudioOutputsResponse

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

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

type GetAudioSourceConfiguration

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

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

type GetAudioSourceConfigurationOptions

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

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

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

type GetAudioSourceConfigurationOptionsResponse

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

	// 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 *onvif.AudioSourceConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetAudioSourceConfigurationResponse

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

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

type GetAudioSourceConfigurations

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

type GetAudioSourceConfigurationsResponse

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

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

type GetAudioSources

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

type GetAudioSourcesResponse

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

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

type GetCompatibleAudioDecoderConfigurations

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

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

type GetCompatibleAudioDecoderConfigurationsResponse

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

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

type GetCompatibleAudioEncoderConfigurations

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

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

type GetCompatibleAudioEncoderConfigurationsResponse

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

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

type GetCompatibleAudioOutputConfigurations

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

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

type GetCompatibleAudioOutputConfigurationsResponse

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

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

type GetCompatibleAudioSourceConfigurations

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

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

type GetCompatibleAudioSourceConfigurationsResponse

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

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

type GetCompatibleMetadataConfigurations

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

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

type GetCompatibleMetadataConfigurationsResponse

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

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

type GetCompatibleVideoAnalyticsConfigurations

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

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

type GetCompatibleVideoAnalyticsConfigurationsResponse

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

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

type GetCompatibleVideoEncoderConfigurations

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

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

type GetCompatibleVideoEncoderConfigurationsResponse

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

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

type GetCompatibleVideoSourceConfigurations

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

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

type GetCompatibleVideoSourceConfigurationsResponse

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

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

type GetGuaranteedNumberOfVideoEncoderInstances

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

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

type GetGuaranteedNumberOfVideoEncoderInstancesResponse

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

	// 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"`

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

type GetMetadataConfigurationOptions

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

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

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

type GetMetadataConfigurationOptionsResponse

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

	// 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 *onvif.MetadataConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetMetadataConfigurationResponse

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

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

type GetMetadataConfigurations

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

type GetMetadataConfigurationsResponse

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

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

type GetOSD

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

	// The GetOSD command fetches the OSD configuration if the OSD token is known.
	OSDToken *onvif.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"`

	// Video Source Configuration Token that specifies an existing video source configuration that the options shall be compatible with.
	ConfigurationToken *onvif.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"`

	OSDOptions *onvif.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"`

	// The requested OSD configuration.
	OSD *onvif.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"`

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

type GetOSDsResponse

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

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

type GetProfile

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

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

type GetProfileResponse

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

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

type GetProfiles

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

type GetProfilesResponse

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

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

type GetServiceCapabilities

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

type GetServiceCapabilitiesResponse

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

	// 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"`

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

type GetSnapshotUriResponse

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

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

type GetStreamUri

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

	// Stream Setup that should be used with the uri
	StreamSetup *onvif.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 *onvif.ReferenceToken `xml:"ProfileToken,omitempty" json:"ProfileToken,omitempty"`
}

type GetStreamUriResponse

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

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

type GetVideoAnalyticsConfiguration

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

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

type GetVideoAnalyticsConfigurationResponse

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

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

type GetVideoAnalyticsConfigurations

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

type GetVideoAnalyticsConfigurationsResponse

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

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

type GetVideoEncoderConfiguration

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

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

type GetVideoEncoderConfigurationOptions

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

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

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

type GetVideoEncoderConfigurationOptionsResponse

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

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

type GetVideoEncoderConfigurationResponse

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

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

type GetVideoEncoderConfigurations

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

type GetVideoEncoderConfigurationsResponse

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

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

type GetVideoSourceConfiguration

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

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

type GetVideoSourceConfigurationOptions

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

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

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

type GetVideoSourceConfigurationOptionsResponse

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

	// 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 *onvif.VideoSourceConfigurationOptions `xml:"Options,omitempty" json:"Options,omitempty"`
}

type GetVideoSourceConfigurationResponse

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

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

type GetVideoSourceConfigurations

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

type GetVideoSourceConfigurationsResponse

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

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

type GetVideoSourceModes

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

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

type GetVideoSourceModesResponse

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

	// 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"`
}

type GetVideoSourcesResponse

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

	// List of existing Video Sources
	VideoSources []*onvif.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"`

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

type RemoveAudioDecoderConfigurationResponse

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

type RemoveAudioEncoderConfiguration

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

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

type RemoveAudioEncoderConfigurationResponse

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

type RemoveAudioOutputConfiguration

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

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

type RemoveAudioOutputConfigurationResponse

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

type RemoveAudioSourceConfiguration

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

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

type RemoveAudioSourceConfigurationResponse

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

type RemoveMetadataConfiguration

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

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

type RemoveMetadataConfigurationResponse

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

type RemovePTZConfiguration

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

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

type RemovePTZConfigurationResponse

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

type RemoveVideoAnalyticsConfiguration

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

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

type RemoveVideoAnalyticsConfigurationResponse

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

type RemoveVideoEncoderConfiguration

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

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

type RemoveVideoEncoderConfigurationResponse

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

type RemoveVideoSourceConfiguration

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

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

type RemoveVideoSourceConfigurationResponse

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

type SetAudioDecoderConfiguration

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

	// Contains the modified audio decoder configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetAudioEncoderConfiguration

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

	// Contains the modified audio encoder configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetAudioOutputConfiguration

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

	// Contains the modified audio output configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetAudioSourceConfiguration

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

	// Contains the modified audio source configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetMetadataConfiguration

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

	// Contains the modified metadata configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetOSD

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

	// Contains the modified OSD configuration.
	OSD *onvif.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"`

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

type SetSynchronizationPoint

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

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

type SetSynchronizationPointResponse

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

type SetVideoAnalyticsConfiguration

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

	// Contains the modified video analytics configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetVideoEncoderConfiguration

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

	// Contains the modified video encoder configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetVideoSourceConfiguration

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

	// Contains the modified video source configuration. The configuration shall exist in the device.
	Configuration *onvif.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"`
}

type SetVideoSourceMode

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

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

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

type SetVideoSourceModeResponse

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

	// 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"`

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

type StartMulticastStreamingResponse

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

type StopMulticastStreaming

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

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

type StopMulticastStreamingResponse

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

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"`

	// 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 *onvif.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 *onvif.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 *onvif.Description `xml:"Description,omitempty" json:"Description,omitempty"`

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

	Token *onvif.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"`

	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