RecordingService
The RecordingService lets you record conferences, receive information about the current recording, and be notified about the recording status. Before using the service, see the Recording Conferences document to learn how to set the preferred recording configuration and download recordings.
Methods
current
▸ current(): Promise
<null
| Recording>
Returns information about the current recording.
Returns
Promise
<null
| Recording>
start
▸ start(): Promise
<void
>
Starts recording a conference.
Returns
Promise
<void
>
stop
▸ stop(): Promise
<void
>
Stops recording a conference.
Returns
Promise
<void
>
Event handlers
onRecordingStatusUpdated
▸ onRecordingStatusUpdated(handler
): UnsubscribeFunction
Adds a listener to the invitation received event.
Parameters
Name | Type | Description |
---|---|---|
handler | (data : RecordingStatusUpdatedEventType) => void | An event callback function. |
Returns
A function that unsubscribes from event listeners.
Updated 2 months ago