onvif_media2_command library

Classes

OnvifGetMetadataConfigurationOptionsMediaCommand
This operation returns the available options (supported values and ranges for metadata configuration parameters) for changing the metadata configuration.
OnvifGetMetadataConfigurations2MediaCommand
By default this operation lists all existing metadata configurations for a device. Provide a profile token to list only configurations that are compatible with the profile. If a configuration token is provided only a single configuration will be returned.
OnvifGetProfiles2MediaCommand
Retrieve the profile with the specified token or all defined media profiles.
OnvifGetServiceCapabilities2MediaCommand
Returns the capabilities of the media service. The result is returned in a typed answer.
OnvifGetSnapshotUri2MediaCommand
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.
OnvifGetStreamUri2MediaCommand
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).
OnvifGetVideoEncoderInstancesMediaCommand
The GetVideoEncoderInstances command can be used to request the minimum number of guaranteed video encoder instances (applications) per Video Source Configuration.
OnvifMedia2Command
OnvifStartMulticastStreaming2MediaCommand
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.
OnvifStopMulticastStreaming2MediaCommand
This command stop multicast streaming using a specified media profile of a device.