View Source ExOnvif.Replay (ExOnvif v0.7.1)

Interface for making requests to the Onvif replay service

https://www.onvif.org/ver10/replay.wsdl

Summary

Functions

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

Returns the capabilities of the replay service.

Functions

get_replay_uri(device, recording_token, opts \\ [])

@spec get_replay_uri(ExOnvif.Device.t(), String.t(),
  stream: String.t(),
  protocol: String.t()
) ::
  {:ok, String.t()} | {:error, any()}

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.

get_service_capabilities(device)

@spec get_service_capabilities(ExOnvif.Device.t()) ::
  {:ok, ExOnvif.Replay.ServiceCapabilities.t()} | {:error, any()}

Returns the capabilities of the replay service.