Getting Started
Open Replay (block id eyevinn-open-replay) is a live replay and slow-motion tool for broadcast production on Liivo Cloud. Operators browse recorded streams from a TAMS store, mark in and out points on a group timeline, save them as clips, arrange clips in playlists and play them back frame-accurately through Strom, from the browser. The block serves both the Studio (the browser UI) and its API from one address. License: Apache-2.0. Source: Eyevinn/open-replay.
Prerequisites
- A Liivo Cloud workspace.
- A CouchDB instance, where Open Replay keeps its library (marks, clips, playlists).
- For replays: a Strom that runs them (Strom) and a TAMS store with recorded streams (TAMS Gateway).
Step 1: Create a CouchDB instance
Create an apache-couchdb instance and choose an admin password (letters and numbers only keeps the connection URL simple). Note the instance URL.
Step 2: Store the credentials as secrets
DatabaseUrl contains the database password, so store the whole URL as a service secret for eyevinn-open-replay and reference it as {{secrets.NAME}}. The reference must be the entire value of the field. The same goes for StromAuthToken and OscAccessToken.
https://admin:<password>@<your-couchdb-hostname>/open-replay
The database name after the last slash is optional (it defaults to open-replay) and the database is created when the block starts.
Step 3: Create an Open Replay instance
{
"name": "myreplay",
"DatabaseUrl": "{{secrets.replaydburl}}",
"StromUrl": "<URL of your Strom>",
"TamsGatewayUrl": "<URL of your TAMS gateway>",
"OscAccessToken": "{{secrets.replayosctoken}}"
}
Wait until the instance is running, then open its URL. The Studio loads at /. Everything else on the instance is behind the Liivo Cloud sign-in.
Usage Example
- Open the instance URL and sign in to Liivo Cloud when asked.
- Pick the stream in the TAMS store that holds your recording.
- Mark an in and out point, save the clip, and add it to a playlist.
- Start the replay and use preview, take, pause and resume to play clips out through Strom.
Configuration
| Option | Required | Sensitive | Meaning |
|---|---|---|---|
| name | Yes | No | Name of the instance. Alphanumeric only, at most 20 characters. |
| DatabaseUrl | Yes | Yes | CouchDB address with credentials, https://user:password@host/dbname. The database name is optional. |
| StromUrl | Yes | No | Address of the Strom that runs the replays. Without a working Strom the replay routes answer 503. |
| StromAuthToken | No | Yes | Key sent to Strom as a Bearer token, if that Strom requires one. |
| TamsGatewayUrl | No | No | The Default TAMS store that recordings are read from. More stores can be added in the Studio under Settings. |
| OscAccessToken | No | Yes | Personal access token used to read a TAMS store on Liivo Cloud. It is also handed to Strom for each replay flow. |
| LogLevel | No | No | Log level, for example info (default), debug or warn. |
Limitations
- Replays are untested on Liivo Cloud. The block has been verified only to start, connect to CouchDB, create its database and serve the Studio page. Playback against a real Strom, reading a TAMS store and the Studio behind the sign-in have not been tested here.
- A wrong
DatabaseUrlor database password stops the block from starting. Check the logs. - There is no
API_KEYoption. Access is controlled by the Liivo Cloud sign-in in front of the instance. StromUrlis required by the catalog even if you only want to try the Studio. The replay routes answer 503 until it points at a working Strom.- Passwords with characters such as
@,:,/or#break the connection URL. Use letters and numbers.