Skip to content

Interface: RecordingsApi ​

The methods of Talkline.recordings.

Methods ​

get() ​

ts
get(sid): Promise<Recording>;

GET /v1/recordings/{sid}.

Parameters ​

ParameterType
sidstring

Returns ​

Promise<Recording>


iterate() ​

ts
iterate(query?): AsyncIterable<Recording>;

GET /v1/recordings, every page in turn.

Parameters ​

ParameterType
query?Pageless<ListRecordingsQuery>

Returns ​

AsyncIterable<Recording>


list() ​

ts
list(query?): Promise<Page<Recording>>;

GET /v1/recordings, one page.

Parameters ​

ParameterType
query?ListRecordingsQuery

Returns ​

Promise<Page<Recording>>


start() ​

ts
start(roomSid): Promise<Recording>;

POST /v1/rooms/{sid}/recordings: records a room now — an sfu room, created with a recordingPolicy other than off, that someone has joined. Its participants are told first.

Parameters ​

ParameterType
roomSidstring

Returns ​

Promise<Recording>


stop() ​

ts
stop(sid): Promise<Recording>;

POST /v1/recordings/{sid}/stop: answered once its files are final; recording.finished follows their upload.

Parameters ​

ParameterType
sidstring

Returns ​

Promise<Recording>


urls() ​

ts
urls(sid, query?): Promise<RecordingUrls>;

GET /v1/recordings/{sid}/url: signed URLs to fetch a finished recording's files and timeline from the object store.

Parameters ​

ParameterType
sidstring
query?RecordingUrlsQuery

Returns ​

Promise<RecordingUrls>

Talkline documentation