Skip to content

Replay

Replay service implementation.

Replay

Bases: ONVIFService

0.0.1 2.0

Recording service client.

Property Details
First introduced ONVIF 2.0 (November 2010)
Binding name ReplayBinding (ver10/replay.wsdl)
Operations replay.wsdl
Spec ReplayControl
Data Format Streaming

GetServiceCapabilities

GetServiceCapabilities()

Returns the capabilities of the replay service.

The result is returned in a typed answer.

Output
  • Capabilities [Capabilities]
    The capabilities for the replay service is returned in the Capabilities element.
    • ReversePlayback - optional; [boolean]
      Indicator that the Device supports reverse playback as defined in the ONVIF Streaming Specification.
    • SessionTimeoutRange - optional; [FloatList]
      The list contains two elements defining the minimum and maximum valid values supported as session timeout in seconds.
    • RTP_RTSP_TCP - optional; [boolean]
      Indicates support for RTP/RTSP/TCP.
    • RTSPWebSocketUri - optional; [anyURI]
      If playback streaming over WebSocket is supported, this shall return the RTSP WebSocket URI as described in Streaming Specification Section 5.1.1.5.

GetReplayUri

GetReplayUri(StreamSetup, RecordingToken)

Requests a URI that can be used to initiate playback of a recorded stream using RTSP as the control protocol.

The URI is valid only as it is specified in the response. A device supporting the Replay Service shall support the GetReplayUri command.

Input
  • StreamSetup [StreamSetup]
    Specifies the connection parameters to be used for the stream. The URI that is returned may depend on these parameters.
    • Stream [StreamType]
      Defines if a multicast or unicast stream is requested.
      Enum Value Enum Description
      RTP-Unicast —
      RTP-Multicast —
    • Transport [Transport]
      • Protocol [TransportProtocol]
        Defines the network protocol for streaming, either UDP=RTP/UDP, RTSP=RTP/RTSP/TCP or HTTP=RTP/RTSP/HTTP/TCP.
        Enum Value Enum Description
        UDP —
        TCP This value is deprecated.
        RTSP —
        HTTP —
      • Tunnel - optional; [complexType]
        Deprecated: optional element to describe further tunnel options.
  • RecordingToken [ReferenceToken]
    The identifier of the recording to be streamed.
    Maximum length: 64
Output
  • Uri [anyURI]
    The URI to which the client should connect in order to stream the recording.

GetReplayConfiguration

GetReplayConfiguration()

Returns the current configuration of the replay service.

This operation is mandatory.

Output
  • Configuration [ReplayConfiguration]
    The current replay configuration parameters.
    • SessionTimeout [duration]
      The RTSP session timeout.

SetReplayConfiguration

SetReplayConfiguration(Configuration)

Changes the current configuration of the replay service.

This operation is mandatory.

Input
  • Configuration [ReplayConfiguration]
    Description of the new replay configuration parameters.
    • SessionTimeout [duration]
      The RTSP session timeout.