View Source Jellyfish.Recording (Jellyfish Server SDK v0.5.1)

Utilites for manipulating the recordings.

Examples

iex> client = Jellyfish.Client.new()
iex> assert {:ok, []} = Jellyfish.Recording.get_list(client)
iex> assert {:error, "Request failed: Recording not found"} = Jellyfish.Recording.delete(client, "not_exisiting_recording")

Summary

Types

Id for the recording, unique within Jellyfish instance.

Functions

Deletes the recording with id.

Lists all available recordings.

Types

@type id() :: String.t()

Id for the recording, unique within Jellyfish instance.

Functions

@spec delete(Jellyfish.Client.t(), id()) :: :ok | {:error, String.t()}

Deletes the recording with id.

@spec get_list(Jellyfish.Client.t()) :: {:ok, [id()]} | {:error, String.t()}

Lists all available recordings.