recording

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayOfFileProgress

type ArrayOfFileProgress struct {

	// Exported file name and export progress information
	FileProgress []FileProgress `xml:"tt:FileProgress,omitempty"`

	Extension ArrayOfFileProgressExtension `xml:"tt:Extension,omitempty"`
}

ArrayOfFileProgress type

type ArrayOfFileProgressExtension

type ArrayOfFileProgressExtension struct {
}

ArrayOfFileProgressExtension type

type Capabilities

type Capabilities struct {
	DynamicRecordings bool `xml:"tt:DynamicRecordings,attr,omitempty"`

	DynamicTracks bool `xml:"tt:DynamicTracks,attr,omitempty"`

	Encoding EncodingTypes `xml:"tt:Encoding,attr,omitempty"`

	MaxRate float32 `xml:"tt:MaxRate,attr,omitempty"`

	MaxTotalRate float32 `xml:"tt:MaxTotalRate,attr,omitempty"`

	MaxRecordings float32 `xml:"tt:MaxRecordings,attr,omitempty"`

	MaxRecordingJobs int32 `xml:"tt:MaxRecordingJobs,attr,omitempty"`

	Options bool `xml:"tt:Options,attr,omitempty"`

	MetadataRecording bool `xml:"tt:MetadataRecording,attr,omitempty"`

	SupportedExportFileFormats onvif.StringAttrList `xml:"tt:SupportedExportFileFormats,attr,omitempty"`
}

Capabilities type

type CreateRecording

type CreateRecording struct {
	XMLName xml.Name `xml:"tt:CreateRecording"`

	// Initial configuration for the recording.
	RecordingConfiguration RecordingConfiguration `xml:"tt:RecordingConfiguration,omitempty"`
}

CreateRecording type

type CreateRecordingFunction

type CreateRecordingFunction struct{}

func (*CreateRecordingFunction) Request

func (_ *CreateRecordingFunction) Request() interface{}

func (*CreateRecordingFunction) Response

func (_ *CreateRecordingFunction) Response() interface{}

type CreateRecordingJob

type CreateRecordingJob struct {
	XMLName xml.Name `xml:"tt:CreateRecordingJob"`

	// The initial configuration of the new recording job.
	JobConfiguration RecordingJobConfiguration `xml:"tt:JobConfiguration,omitempty"`
}

CreateRecordingJob type

type CreateRecordingJobFunction

type CreateRecordingJobFunction struct{}

func (*CreateRecordingJobFunction) Request

func (_ *CreateRecordingJobFunction) Request() interface{}

func (*CreateRecordingJobFunction) Response

func (_ *CreateRecordingJobFunction) Response() interface{}

type CreateRecordingJobResponse

type CreateRecordingJobResponse struct {
	XMLName xml.Name `xml:"CreateRecordingJobResponse"`

	// The JobToken shall identify the created recording job.
	JobToken RecordingJobReference `xml:"JobToken,omitempty"`

	//
	// The JobConfiguration structure shall be the configuration as it is used by the device. This may be different from the
	// JobConfiguration passed to CreateRecordingJob.
	JobConfiguration RecordingJobConfiguration `xml:"JobConfiguration,omitempty"`
}

CreateRecordingJobResponse type

type CreateRecordingResponse

type CreateRecordingResponse struct {
	XMLName xml.Name `xml:"CreateRecordingResponse"`

	// The reference to the created recording.
	RecordingToken RecordingReference `xml:"RecordingToken,omitempty"`
}

CreateRecordingResponse type

type CreateTrack

type CreateTrack struct {
	XMLName xml.Name `xml:"tt:CreateTrack"`

	// Identifies the recording to which a track shall be added.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// The configuration of the new track.
	TrackConfiguration TrackConfiguration `xml:"tt:TrackConfiguration,omitempty"`
}

CreateTrack type

type CreateTrackFunction

type CreateTrackFunction struct{}

func (*CreateTrackFunction) Request

func (_ *CreateTrackFunction) Request() interface{}

func (*CreateTrackFunction) Response

func (_ *CreateTrackFunction) Response() interface{}

type CreateTrackResponse

type CreateTrackResponse struct {
	XMLName xml.Name `xml:"CreateTrackResponse"`

	// The TrackToken shall identify the newly created track. The
	// TrackToken shall be unique within the recoding to which
	// the new track belongs.
	TrackToken TrackReference `xml:"TrackToken,omitempty"`
}

CreateTrackResponse type

type DeleteRecording

type DeleteRecording struct {
	XMLName xml.Name `xml:"tt:DeleteRecording"`

	// The reference of the recording to be deleted.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`
}

DeleteRecording type

type DeleteRecordingFunction

type DeleteRecordingFunction struct{}

func (*DeleteRecordingFunction) Request

func (_ *DeleteRecordingFunction) Request() interface{}

func (*DeleteRecordingFunction) Response

func (_ *DeleteRecordingFunction) Response() interface{}

type DeleteRecordingJob

type DeleteRecordingJob struct {
	XMLName xml.Name `xml:"tt:DeleteRecordingJob"`

	// The token of the job to be deleted.
	JobToken RecordingJobReference `xml:"tt:JobToken,omitempty"`
}

DeleteRecordingJob type

type DeleteRecordingJobFunction

type DeleteRecordingJobFunction struct{}

func (*DeleteRecordingJobFunction) Request

func (_ *DeleteRecordingJobFunction) Request() interface{}

func (*DeleteRecordingJobFunction) Response

func (_ *DeleteRecordingJobFunction) Response() interface{}

type DeleteRecordingJobResponse

type DeleteRecordingJobResponse struct {
	XMLName xml.Name `xml:"DeleteRecordingJobResponse"`
}

DeleteRecordingJobResponse type

type DeleteRecordingResponse

type DeleteRecordingResponse struct {
	XMLName xml.Name `xml:"DeleteRecordingResponse"`
}

DeleteRecordingResponse type

type DeleteTrack

type DeleteTrack struct {
	XMLName xml.Name `xml:"tt:DeleteTrack"`

	// Token of the recording the track belongs to.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// Token of the track to be deleted.
	TrackToken TrackReference `xml:"tt:TrackToken,omitempty"`
}

DeleteTrack type

type DeleteTrackFunction

type DeleteTrackFunction struct{}

func (*DeleteTrackFunction) Request

func (_ *DeleteTrackFunction) Request() interface{}

func (*DeleteTrackFunction) Response

func (_ *DeleteTrackFunction) Response() interface{}

type DeleteTrackResponse

type DeleteTrackResponse struct {
	XMLName xml.Name `xml:"DeleteTrackResponse"`
}

DeleteTrackResponse type

type EncodingTypes

type EncodingTypes []string

EncodingTypes type

type ExportRecordedData

type ExportRecordedData struct {
	XMLName xml.Name `xml:"tt:ExportRecordedData"`

	// Optional parameter that specifies start time for the exporting.
	StartPoint string `xml:"tt:StartPoint,omitempty"`

	// Optional parameter that specifies end time for the exporting.
	EndPoint string `xml:"tt:EndPoint,omitempty"`

	// Indicates the selection criterion on the existing recordings. .
	SearchScope SearchScope `xml:"tt:SearchScope,omitempty"`

	// Indicates which export file format to be used.
	FileFormat string `xml:"tt:FileFormat,omitempty"`

	// Indicates the target storage and relative directory path.
	StorageDestination StorageReferencePath `xml:"tt:StorageDestination,omitempty"`
}

ExportRecordedData type

type ExportRecordedDataFunction

type ExportRecordedDataFunction struct{}

func (*ExportRecordedDataFunction) Request

func (_ *ExportRecordedDataFunction) Request() interface{}

func (*ExportRecordedDataFunction) Response

func (_ *ExportRecordedDataFunction) Response() interface{}

type ExportRecordedDataResponse

type ExportRecordedDataResponse struct {
	XMLName xml.Name `xml:"ExportRecordedDataResponse"`

	// Unique operation token for client to associate the relevant events.
	OperationToken ReferenceToken `xml:"OperationToken,omitempty"`

	// List of exported file names. The device can also use AsyncronousOperationStatus event to publish this list.
	FileNames []string `xml:"FileNames,omitempty"`

	Extension struct {
	} `xml:"Extension,omitempty"`
}

ExportRecordedDataResponse type

type FileProgress

type FileProgress struct {

	// Exported file name
	FileName string `xml:"tt:FileName,omitempty"`

	// Normalized percentage completion for uploading the exported file
	Progress float32 `xml:"tt:Progress,omitempty"`
}

FileProgress type

type GetExportRecordedDataState

type GetExportRecordedDataState struct {
	XMLName xml.Name `xml:"tt:GetExportRecordedDataState"`

	// Unique ExportRecordedData operation token
	OperationToken ReferenceToken `xml:"tt:OperationToken,omitempty"`
}

GetExportRecordedDataState type

type GetExportRecordedDataStateFunction

type GetExportRecordedDataStateFunction struct{}

func (*GetExportRecordedDataStateFunction) Request

func (_ *GetExportRecordedDataStateFunction) Request() interface{}

func (*GetExportRecordedDataStateFunction) Response

func (_ *GetExportRecordedDataStateFunction) Response() interface{}

type GetExportRecordedDataStateResponse

type GetExportRecordedDataStateResponse struct {
	XMLName xml.Name `xml:"GetExportRecordedDataStateResponse"`

	// Progress percentage of ExportRecordedData operation.
	Progress float32 `xml:"Progress,omitempty"`

	FileProgressStatus ArrayOfFileProgress `xml:"FileProgressStatus,omitempty"`
}

GetExportRecordedDataStateResponse type

type GetRecordingConfiguration

type GetRecordingConfiguration struct {
	XMLName xml.Name `xml:"tt:GetRecordingConfiguration"`

	// Token of the configuration to be retrieved.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`
}

GetRecordingConfiguration type

type GetRecordingConfigurationFunction

type GetRecordingConfigurationFunction struct{}

func (*GetRecordingConfigurationFunction) Request

func (_ *GetRecordingConfigurationFunction) Request() interface{}

func (*GetRecordingConfigurationFunction) Response

func (_ *GetRecordingConfigurationFunction) Response() interface{}

type GetRecordingConfigurationResponse

type GetRecordingConfigurationResponse struct {
	XMLName xml.Name `xml:"GetRecordingConfigurationResponse"`

	// Configuration of the recording.
	RecordingConfiguration RecordingConfiguration `xml:"RecordingConfiguration,omitempty"`
}

GetRecordingConfigurationResponse type

type GetRecordingJobConfiguration

type GetRecordingJobConfiguration struct {
	XMLName xml.Name `xml:"tt:GetRecordingJobConfiguration"`

	// Token of the recording job.
	JobToken RecordingJobReference `xml:"tt:JobToken,omitempty"`
}

GetRecordingJobConfiguration type

type GetRecordingJobConfigurationFunction

type GetRecordingJobConfigurationFunction struct{}

func (*GetRecordingJobConfigurationFunction) Request

func (_ *GetRecordingJobConfigurationFunction) Request() interface{}

func (*GetRecordingJobConfigurationFunction) Response

func (_ *GetRecordingJobConfigurationFunction) Response() interface{}

type GetRecordingJobConfigurationResponse

type GetRecordingJobConfigurationResponse struct {
	XMLName xml.Name `xml:"GetRecordingJobConfigurationResponse"`

	// Current configuration of the recording job.
	JobConfiguration RecordingJobConfiguration `xml:"JobConfiguration,omitempty"`
}

GetRecordingJobConfigurationResponse type

type GetRecordingJobState

type GetRecordingJobState struct {
	XMLName xml.Name `xml:"tt:GetRecordingJobState"`

	// Token of the recording job.
	JobToken RecordingJobReference `xml:"tt:JobToken,omitempty"`
}

GetRecordingJobState type

type GetRecordingJobStateFunction

type GetRecordingJobStateFunction struct{}

func (*GetRecordingJobStateFunction) Request

func (_ *GetRecordingJobStateFunction) Request() interface{}

func (*GetRecordingJobStateFunction) Response

func (_ *GetRecordingJobStateFunction) Response() interface{}

type GetRecordingJobStateResponse

type GetRecordingJobStateResponse struct {
	XMLName xml.Name `xml:"GetRecordingJobStateResponse"`

	// The current state of the recording job.
	State RecordingJobStateInformation `xml:"State,omitempty"`
}

GetRecordingJobStateResponse type

type GetRecordingJobs

type GetRecordingJobs struct {
	XMLName xml.Name `xml:"tt:GetRecordingJobs"`
}

GetRecordingJobs type

type GetRecordingJobsFunction

type GetRecordingJobsFunction struct{}

func (*GetRecordingJobsFunction) Request

func (_ *GetRecordingJobsFunction) Request() interface{}

func (*GetRecordingJobsFunction) Response

func (_ *GetRecordingJobsFunction) Response() interface{}

type GetRecordingJobsResponse

type GetRecordingJobsResponse struct {
	XMLName xml.Name `xml:"GetRecordingJobsResponse"`

	// List of recording jobs.
	JobItem []GetRecordingJobsResponseItem `xml:"JobItem,omitempty"`
}

GetRecordingJobsResponse type

type GetRecordingJobsResponseItem

type GetRecordingJobsResponseItem struct {
	JobToken RecordingJobReference `xml:"JobToken,omitempty"`

	JobConfiguration RecordingJobConfiguration `xml:"JobConfiguration,omitempty"`
}

GetRecordingJobsResponseItem type

type GetRecordingOptions

type GetRecordingOptions struct {
	XMLName xml.Name `xml:"tt:GetRecordingOptions"`

	// Token of the recording.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`
}

GetRecordingOptions type

type GetRecordingOptionsFunction

type GetRecordingOptionsFunction struct{}

func (*GetRecordingOptionsFunction) Request

func (_ *GetRecordingOptionsFunction) Request() interface{}

func (*GetRecordingOptionsFunction) Response

func (_ *GetRecordingOptionsFunction) Response() interface{}

type GetRecordingOptionsResponse

type GetRecordingOptionsResponse struct {
	XMLName xml.Name `xml:"GetRecordingOptionsResponse"`

	// Configuration of the recording.
	Options RecordingOptions `xml:"Options,omitempty"`
}

GetRecordingOptionsResponse type

type GetRecordings

type GetRecordings struct {
	XMLName xml.Name `xml:"tt:GetRecordings"`
}

GetRecordings type

type GetRecordingsFunction

type GetRecordingsFunction struct{}

func (*GetRecordingsFunction) Request

func (_ *GetRecordingsFunction) Request() interface{}

func (*GetRecordingsFunction) Response

func (_ *GetRecordingsFunction) Response() interface{}

type GetRecordingsResponse

type GetRecordingsResponse struct {
	XMLName xml.Name `xml:"GetRecordingsResponse"`

	// List of recording items.
	RecordingItem []GetRecordingsResponseItem
}

GetRecordingsResponse type

type GetRecordingsResponseItem

type GetRecordingsResponseItem struct {
	// Token of the recording.
	RecordingToken RecordingReference

	// Configuration of the recording.
	Configuration struct {
		Source struct {
			SourceId    xsd.AnyURI
			Name        xsd.Name
			Location    xsd.String
			Description xsd.String
			Address     xsd.AnyURI
		}
		Content              xsd.String
		MaximumRetentionTime xsd.Duration
	}

	// List of tracks.
	Tracks GetTracksResponseList
}

GetRecordingsResponseItem type

type GetServiceCapabilities

type GetServiceCapabilities struct {
	XMLName xml.Name `xml:"tt:GetServiceCapabilities"`
}

GetServiceCapabilities type

type GetServiceCapabilitiesFunction

type GetServiceCapabilitiesFunction struct{}

func (*GetServiceCapabilitiesFunction) Request

func (_ *GetServiceCapabilitiesFunction) Request() interface{}

func (*GetServiceCapabilitiesFunction) Response

func (_ *GetServiceCapabilitiesFunction) Response() interface{}

type GetServiceCapabilitiesResponse

type GetServiceCapabilitiesResponse struct {
	XMLName xml.Name `xml:"GetServiceCapabilitiesResponse"`

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

GetServiceCapabilitiesResponse type

type GetTrackConfiguration

type GetTrackConfiguration struct {
	XMLName xml.Name `xml:"tt:GetTrackConfiguration"`

	// Token of the recording the track belongs to.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// Token of the track.
	TrackToken TrackReference `xml:"tt:TrackToken,omitempty"`
}

GetTrackConfiguration type

type GetTrackConfigurationFunction

type GetTrackConfigurationFunction struct{}

func (*GetTrackConfigurationFunction) Request

func (_ *GetTrackConfigurationFunction) Request() interface{}

func (*GetTrackConfigurationFunction) Response

func (_ *GetTrackConfigurationFunction) Response() interface{}

type GetTrackConfigurationResponse

type GetTrackConfigurationResponse struct {
	XMLName xml.Name `xml:"GetTrackConfigurationResponse"`

	// Configuration of the track.
	TrackConfiguration TrackConfiguration `xml:"TrackConfiguration,omitempty"`
}

GetTrackConfigurationResponse type

type GetTracksResponseItem

type GetTracksResponseItem struct {
	// Token of the track.
	TrackToken TrackReference
	// Configuration of the track.
	Configuration struct {
		TrackType   TrackType
		Description xsd.String
	}
}

GetTracksResponseItem type

type GetTracksResponseList

type GetTracksResponseList struct {
	// Configuration of a track.
	Track []GetTracksResponseItem
}

GetTracksResponseList type

type JobOptions

type JobOptions struct {
	Spare int32 `xml:"tt:Spare,attr,omitempty"`

	CompatibleSources onvif.StringAttrList `xml:"tt:CompatibleSources,attr,omitempty"`
}

JobOptions type

type ModeOfOperation

type ModeOfOperation string

ModeOfOperation type

type RecordingConfiguration

type RecordingConfiguration struct {

	// Information about the source of the recording.
	Source RecordingSourceInformation `xml:"tt:Source,omitempty"`

	// Informative description of the source.
	Content onvif.Description `xml:"tt:Content,omitempty"`

	// Sspecifies the maximum time that data in any track within the
	// recording shall be stored. The device shall delete any data older than the maximum retention
	// time. Such data shall not be accessible anymore. If the MaximumRetentionPeriod is set to 0,
	// the device shall not limit the retention time of stored data, except by resource constraints.
	// Whatever the value of MaximumRetentionTime, the device may automatically delete
	// recordings to free up storage space for new recordings.
	MaximumRetentionTime xsd.Duration `xml:"tt:MaximumRetentionTime,omitempty"`
}

RecordingConfiguration type

type RecordingJobConfiguration

type RecordingJobConfiguration struct {

	// Identifies the recording to which this job shall store the received data.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// The mode of the job. If it is idle, nothing shall happen. If it is active, the device shall try
	// to obtain data from the receivers. A client shall use GetRecordingJobState to determine if data transfer is really taking place.
	// The only valid values for Mode shall be “Idle” and “Active”.
	Mode RecordingJobMode `xml:"tt:Mode,omitempty"`

	// This shall be a non-negative number. If there are multiple recording jobs that store data to
	// the same track, the device will only store the data for the recording job with the highest
	// priority. The priority is specified per recording job, but the device shall determine the priority
	// of each track individually. If there are two recording jobs with the same priority, the device
	// shall record the data corresponding to the recording job that was activated the latest.
	Priority int32 `xml:"tt:Priority,omitempty"`

	// Source of the recording.
	Source []RecordingJobSource `xml:"tt:Source,omitempty"`

	Extension RecordingJobConfigurationExtension `xml:"tt:Extension,omitempty"`

	ScheduleToken string `xml:"tt:ScheduleToken,attr,omitempty"`
}

RecordingJobConfiguration type

type RecordingJobConfigurationExtension

type RecordingJobConfigurationExtension struct {
}

RecordingJobConfigurationExtension type

type RecordingJobMode

type RecordingJobMode string

RecordingJobMode type

type RecordingJobReference

type RecordingJobReference ReferenceToken

RecordingJobReference type

type RecordingJobSource

type RecordingJobSource struct {

	// This field shall be a reference to the source of the data. The type of the source
	// is determined by the attribute Type in the SourceToken structure. If Type is
	// http://www.onvif.org/ver10/schema/Receiver, the token is a ReceiverReference. In this case
	// the device shall receive the data over the network. If Type is
	// http://www.onvif.org/ver10/schema/Profile, the token identifies a media profile, instructing the
	// device to obtain data from a profile that exists on the local device.
	SourceToken SourceReference `xml:"tt:SourceToken,omitempty"`

	// If this field is TRUE, and if the SourceToken is omitted, the device
	// shall create a receiver object (through the receiver service) and assign the
	// ReceiverReference to the SourceToken field. When retrieving the RecordingJobConfiguration
	// from the device, the AutoCreateReceiver field shall never be present.
	AutoCreateReceiver bool `xml:"tt:AutoCreateReceiver,omitempty"`

	// List of tracks associated with the recording.
	Tracks []RecordingJobTrack `xml:"tt:Tracks,omitempty"`

	Extension RecordingJobSourceExtension `xml:"tt:Extension,omitempty"`
}

RecordingJobSource type

type RecordingJobSourceExtension

type RecordingJobSourceExtension struct {
}

RecordingJobSourceExtension type

type RecordingJobState

type RecordingJobState string

RecordingJobState type

type RecordingJobStateInformation

type RecordingJobStateInformation struct {

	// Identification of the recording that the recording job records to.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// Holds the aggregated state over the whole RecordingJobInformation structure.
	State RecordingJobState `xml:"tt:State,omitempty"`

	// Identifies the data source of the recording job.
	Sources []RecordingJobStateSource `xml:"tt:Sources,omitempty"`

	Extension RecordingJobStateInformationExtension `xml:"tt:Extension,omitempty"`
}

RecordingJobStateInformation type

type RecordingJobStateInformationExtension

type RecordingJobStateInformationExtension struct {
}

RecordingJobStateInformationExtension type

type RecordingJobStateSource

type RecordingJobStateSource struct {

	// Identifies the data source of the recording job.
	SourceToken SourceReference `xml:"tt:SourceToken,omitempty"`

	// Holds the aggregated state over all substructures of RecordingJobStateSource.
	State RecordingJobState `xml:"tt:State,omitempty"`

	// List of track items.
	Tracks RecordingJobStateTracks `xml:"tt:Tracks,omitempty"`
}

RecordingJobStateSource type

type RecordingJobStateTrack

type RecordingJobStateTrack struct {

	// Identifies the track of the data source that provides the data.
	SourceTag string `xml:"tt:SourceTag,omitempty"`

	// Indicates the destination track.
	Destination TrackReference `xml:"tt:Destination,omitempty"`

	// Optionally holds an implementation defined string value that describes the error.
	// The string should be in the English language.
	Error string `xml:"tt:Error,omitempty"`

	// Provides the job state of the track. The valid
	// values of state shall be “Idle”, “Active” and “Error”. If state equals “Error”, the Error field may be filled in with an implementation defined value.
	State RecordingJobState `xml:"tt:State,omitempty"`
}

RecordingJobStateTrack type

type RecordingJobStateTracks

type RecordingJobStateTracks struct {
	Track []RecordingJobStateTrack `xml:"tt:Track,omitempty"`
}

RecordingJobStateTracks type

type RecordingJobTrack

type RecordingJobTrack struct {

	// If the received RTSP stream contains multiple tracks of the same type, the
	// SourceTag differentiates between those Tracks. This field can be ignored in case of recording a local source.
	SourceTag string `xml:"tt:SourceTag,omitempty"`

	// The destination is the tracktoken of the track to which the device shall store the
	// received data.
	Destination TrackReference `xml:"tt:Destination,omitempty"`
}

RecordingJobTrack type

type RecordingOptions

type RecordingOptions struct {
	Job JobOptions `xml:"tt:Job,omitempty"`

	Track TrackOptions `xml:"tt:Track,omitempty"`
}

RecordingOptions type

type RecordingReference

type RecordingReference ReferenceToken

RecordingReference type

type RecordingSourceInformation

type RecordingSourceInformation struct {

	//
	// Identifier for the source chosen by the client that creates the structure.
	// This identifier is opaque to the device. Clients may use any type of URI for this field. A device shall support at least 128 characters.
	SourceId xsd.AnyURI `xml:"tt:SourceId,omitempty"`

	// Informative user readable name of the source, e.g. "Camera23". A device shall support at least 20 characters.
	Name xsd.Name `xml:"tt:Name,omitempty"`

	// Informative description of the physical location of the source, e.g. the coordinates on a map.
	Location onvif.Description `xml:"tt:Location,omitempty"`

	// Informative description of the source.
	Description onvif.Description `xml:"tt:Description,omitempty"`

	// URI provided by the service supplying data to be recorded. A device shall support at least 128 characters.
	Address xsd.AnyURI `xml:"tt:Address,omitempty"`
}

RecordingSourceInformation type

type ReferenceToken

type ReferenceToken string

ReferenceToken type

type SearchScope

type SearchScope struct {

	// A list of sources that are included in the scope. If this list is included, only data from one of these sources shall be searched.
	IncludedSources []SourceReference `xml:"tt:IncludedSources,omitempty"`

	// A list of recordings that are included in the scope. If this list is included, only data from one of these recordings shall be searched.
	IncludedRecordings []RecordingReference `xml:"tt:IncludedRecordings,omitempty"`

	// An xpath expression used to specify what recordings to search. Only those recordings with an RecordingInformation structure that matches the filter shall be searched.
	RecordingInformationFilter XPathExpression `xml:"tt:RecordingInformationFilter,omitempty"`

	// Extension point
	Extension SearchScopeExtension `xml:"tt:Extension,omitempty"`
}

SearchScope type

type SearchScopeExtension

type SearchScopeExtension struct {
}

SearchScopeExtension type

type SetRecordingConfiguration

type SetRecordingConfiguration struct {
	XMLName xml.Name `xml:"tt:SetRecordingConfiguration"`

	// Token of the recording that shall be changed.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// The new configuration.
	RecordingConfiguration RecordingConfiguration `xml:"tt:RecordingConfiguration,omitempty"`
}

SetRecordingConfiguration type

type SetRecordingConfigurationFunction

type SetRecordingConfigurationFunction struct{}

func (*SetRecordingConfigurationFunction) Request

func (_ *SetRecordingConfigurationFunction) Request() interface{}

func (*SetRecordingConfigurationFunction) Response

func (_ *SetRecordingConfigurationFunction) Response() interface{}

type SetRecordingConfigurationResponse

type SetRecordingConfigurationResponse struct {
	XMLName xml.Name `xml:"SetRecordingConfigurationResponse"`
}

SetRecordingConfigurationResponse type

type SetRecordingJobConfiguration

type SetRecordingJobConfiguration struct {
	XMLName xml.Name `xml:"tt:SetRecordingJobConfiguration"`

	// Token of the job to be modified.
	JobToken RecordingJobReference `xml:"tt:JobToken,omitempty"`

	// New configuration of the recording job.
	JobConfiguration RecordingJobConfiguration `xml:"tt:JobConfiguration,omitempty"`
}

SetRecordingJobConfiguration type

type SetRecordingJobConfigurationFunction

type SetRecordingJobConfigurationFunction struct{}

func (*SetRecordingJobConfigurationFunction) Request

func (_ *SetRecordingJobConfigurationFunction) Request() interface{}

func (*SetRecordingJobConfigurationFunction) Response

func (_ *SetRecordingJobConfigurationFunction) Response() interface{}

type SetRecordingJobConfigurationResponse

type SetRecordingJobConfigurationResponse struct {
	XMLName xml.Name `xml:"SetRecordingJobConfigurationResponse"`

	// The JobConfiguration structure shall be the configuration
	// as it is used by the device. This may be different from the JobConfiguration passed to SetRecordingJobConfiguration.
	JobConfiguration RecordingJobConfiguration `xml:"JobConfiguration,omitempty"`
}

SetRecordingJobConfigurationResponse type

type SetRecordingJobMode

type SetRecordingJobMode struct {
	XMLName xml.Name `xml:"tt:SetRecordingJobMode"`

	// Token of the recording job.
	JobToken RecordingJobReference `xml:"tt:JobToken,omitempty"`

	// The new mode for the recording job.
	Mode RecordingJobMode `xml:"tt:Mode,omitempty"`
}

SetRecordingJobMode type

type SetRecordingJobModeFunction

type SetRecordingJobModeFunction struct{}

func (*SetRecordingJobModeFunction) Request

func (_ *SetRecordingJobModeFunction) Request() interface{}

func (*SetRecordingJobModeFunction) Response

func (_ *SetRecordingJobModeFunction) Response() interface{}

type SetRecordingJobModeResponse

type SetRecordingJobModeResponse struct {
	XMLName xml.Name `xml:"SetRecordingJobModeResponse"`
}

SetRecordingJobModeResponse type

type SetTrackConfiguration

type SetTrackConfiguration struct {
	XMLName xml.Name `xml:"tt:SetTrackConfiguration"`

	// Token of the recording the track belongs to.
	RecordingToken RecordingReference `xml:"tt:RecordingToken,omitempty"`

	// Token of the track to be modified.
	TrackToken TrackReference `xml:"tt:TrackToken,omitempty"`

	// New configuration for the track.
	TrackConfiguration TrackConfiguration `xml:"tt:TrackConfiguration,omitempty"`
}

SetTrackConfiguration type

type SetTrackConfigurationFunction

type SetTrackConfigurationFunction struct{}

func (*SetTrackConfigurationFunction) Request

func (_ *SetTrackConfigurationFunction) Request() interface{}

func (*SetTrackConfigurationFunction) Response

func (_ *SetTrackConfigurationFunction) Response() interface{}

type SetTrackConfigurationResponse

type SetTrackConfigurationResponse struct {
	XMLName xml.Name `xml:"SetTrackConfigurationResponse"`
}

SetTrackConfigurationResponse type

type SourceReference

type SourceReference struct {
	Token ReferenceToken `xml:"tt:Token,omitempty"`

	Type xsd.AnyURI `xml:"tt:Type,attr,omitempty"`
}

SourceReference type

type StopExportRecordedData

type StopExportRecordedData struct {
	XMLName xml.Name `xml:"tt:StopExportRecordedData"`

	// Unique ExportRecordedData operation token
	OperationToken ReferenceToken `xml:"tt:OperationToken,omitempty"`
}

StopExportRecordedData type

type StopExportRecordedDataFunction

type StopExportRecordedDataFunction struct{}

func (*StopExportRecordedDataFunction) Request

func (_ *StopExportRecordedDataFunction) Request() interface{}

func (*StopExportRecordedDataFunction) Response

func (_ *StopExportRecordedDataFunction) Response() interface{}

type StopExportRecordedDataResponse

type StopExportRecordedDataResponse struct {
	XMLName xml.Name `xml:"StopExportRecordedDataResponse"`

	// Progress percentage of ExportRecordedData operation.
	Progress float32 `xml:"Progress,omitempty"`

	FileProgressStatus ArrayOfFileProgress `xml:"FileProgressStatus,omitempty"`
}

StopExportRecordedDataResponse type

type StorageReferencePath

type StorageReferencePath struct {

	// identifier of an existing Storage Configuration.
	StorageToken ReferenceToken `xml:"tt:StorageToken,omitempty"`

	// gives the relative directory path on the storage
	RelativePath string `xml:"tt:RelativePath,omitempty"`

	Extension StorageReferencePathExtension `xml:"tt:Extension,omitempty"`
}

StorageReferencePath type

type StorageReferencePathExtension

type StorageReferencePathExtension struct {
}

StorageReferencePathExtension type

type TrackConfiguration

type TrackConfiguration struct {

	// Type of the track. It shall be equal to the strings “Video”,
	// “Audio” or “Metadata”. The track shall only be able to hold data of that type.
	TrackType TrackType `xml:"tt:TrackType,omitempty"`

	// Informative description of the track.
	Description onvif.Description `xml:"tt:Description,omitempty"`
}

TrackConfiguration type

type TrackOptions

type TrackOptions struct {
	SpareTotal int32 `xml:"tt:SpareTotal,attr,omitempty"`

	SpareVideo int32 `xml:"tt:SpareVideo,attr,omitempty"`

	SpareAudio int32 `xml:"tt:SpareAudio,attr,omitempty"`

	SpareMetadata int32 `xml:"tt:SpareMetadata,attr,omitempty"`
}

TrackOptions type

type TrackReference

type TrackReference ReferenceToken

TrackReference type

type TrackType

type TrackType string

TrackType type

const (
	// TrackTypeVideo const
	TrackTypeVideo TrackType = "Video"

	// TrackTypeAudio const
	TrackTypeAudio TrackType = "Audio"

	// TrackTypeMetadata const
	TrackTypeMetadata TrackType = "Metadata"

	// Placeholder for future extension.
	// TrackTypeExtended const
	TrackTypeExtended TrackType = "Extended"
)

type XPathExpression

type XPathExpression string

XPathExpression type

Jump to

Keyboard shortcuts

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