Recording
Recording service implementation.
Recording
Bases: ONVIFService
Recording service client.
| Property | Details |
|---|---|
| First introduced | ONVIF 2.0 (November 2010) |
| Binding name | RecordingBinding (ver10/recording.wsdl) |
| Operations | recording.wsdl |
| Spec | RecordingControl |
GetServiceCapabilities
Returns the capabilities of the recording service.
The result is returned in a typed answer.
CreateRecording
CreateRecording shall create a new recording.
The new recording shall be created with a track for each supported TrackType see Recording Control Spec.
This method is optional. It shall be available if the Recording/DynamicRecordings capability is TRUE.
When successfully completed, CreateRecording shall have created three tracks with the following configurations:
- TrackToken TrackType
- VIDEO001 Video
- AUDIO001 Audio
- META001 Metadata
The created recording shall have MaximumRetentionTime set to the value specified in the RecordingConfiguration supplied to CreateRecording. If that value is PT0S, the recording shall have unlimited retention. All tracks created as part of the request shall have the Description set to the empty string by default.
DeleteRecording
DeleteRecording shall delete a recording object.
Whenever a recording is deleted, the device shall delete all the tracks that are part of the recording, and it shall delete all the Recording Jobs that record into the recording. For each deleted recording job, the device shall also delete all the receiver objects associated with the recording job that are automatically created using the AutoCreateReceiver field of the recording job configuration structure and are not used in any other recording job.
This method is optional. It shall be available if the Recording/DynamicRecordings capability is TRUE.
GetRecordings
GetRecordings shall return a description of all the recordings in the device.
This description shall include a list of all the tracks for each recording.
SetRecordingConfiguration
SetRecordingConfiguration shall change the configuration of a recording.
GetRecordingConfiguration
GetRecordingConfiguration shall retrieve the recording configuration for a recording.
GetRecordingOptions
GetRecordingOptions returns information for a recording identified by the RecordingToken.
The information includes the number of additional tracks as well as recording jobs that can be configured.
CreateTrack
This method shall create a new track within a recording.
This method is optional. It shall be available if the Recording/DynamicTracks capability is TRUE.
A TrackToken in itself does not uniquely identify a specific track. Tracks within different recordings may have the same TrackToken.
DeleteTrack
DeleteTrack shall remove a track from a recording.
All the data in the track shall be deleted.
This method is optional. It shall be available if the Recording/DynamicTracks capability is TRUE.
GetTrackConfiguration
GetTrackConfiguration shall retrieve the configuration for a specific track.
SetTrackConfiguration
SetTrackConfiguration shall change the configuration of a track.
CreateRecordingJob
CreateRecordingJob shall create a new recording job.
The JobConfiguration returned from CreateRecordingJob shall be identical to the JobConfiguration passed into CreateRecordingJob, except for the ReceiverToken and the AutoCreateReceiver. In the returned structure, the ReceiverToken shall be present and valid and the AutoCreateReceiver field shall be omitted.
DeleteRecordingJob
DeleteRecordingJob removes a recording job.
It shall also implicitly delete all the receiver objects associated with the recording job that are automatically created using the AutoCreateReceiver field of the recording job configuration structure and are not used in any other recording job.
GetRecordingJobs
GetRecordingJobs shall return a list of all the recording jobs in the device.
SetRecordingJobConfiguration
SetRecordingJobConfiguration shall change the configuration for a recording job.
SetRecordingJobConfiguration shall implicitly delete any receiver objects that were created automatically if they are no longer used as a result of changing the recording job configuration.
GetRecordingJobConfiguration
GetRecordingJobConfiguration shall return the current configuration for a recording job.
SetRecordingJobMode
SetRecordingJobMode shall change the mode of the recording job.
Using this method shall be equivalent to retrieving the recording job configuration, and writing it back with a different mode.
GetRecordingJobState
GetRecordingJobState returns the state of a recording job.
It includes an aggregated state, and state for each track of the recording job.
ExportRecordedData
Exports the selected recordings (from existing recorded data) to the given storage target based on the requested file format.
StopExportRecordedData
Stops the selected ExportRecordedData operation.
GetExportRecordedDataState
Retrieves the status of selected ExportRecordedData operation.
OverrideSegmentDuration
Requests a temporary override of the target segment duration for a recording configuration.
ListRecordedSegments
Lists available recorded segments related to the specified RecordingToken.
ExportRecordedSegments
Exports the selected recorded segments (from existing recorded data) to the storage attached to the given recording configuration.
StopExportRecordedSegments
Stops the selected ExportRecordedSegments operation.