SFU recording can be used to save audio/video calls for offline viewing. SFU recording supports both individual and composite recordings.
Media for each peer is provided as a separate mp4 file. This file will have both audio and video of the peer. These files can be used for offline review or in implementing custom composition.
Audio and video of all peers is composed as per their joining/leaving the meeting and provided as a single mp4. This file can be used for offline viewing of the meeting.
There are two ways to enable SFU recording for a room.
First way (recommended)
This requires two steps-
- Provide upload info in the template and enable the SFU recording.
Autofor recording while creating a room.
> **Note**: Choosing `Auto` for recording will make room's recording settings depends on template. > That means - > - Enabling/Disabling SFU recording in template will also enable/disable it for the room. > - Changes made in upload settings in template, will also be reflected for the room.
Another way to enable SFU recording for a room is to choose
Enabled for recording settings while creating it.
Enabled/Disabled explicitly for recording while creating a room, will make the recording settings in room not depend on template.
- Enabling/Disabling SFU recording in template will have no effect this template.
- Room will have its own upload info. By default, they will be uploaded to 100ms storage. More on this below.
By default recordings will be uploaded to 100ms storage and a pre-signed URL for the same will be provided to customers via a webhook. The pre-signed URL will expire in 12 hours. Customers can also configure the recordings to be stored in their cloud storage. Following are the configurations for the same.
|type||Upload Destination type. Currently, only ||Yes|
|location||Name of the AWS s3 bucket in which you want to store all recordings||Yes|
|prefix||Upload prefix path||No|
|options||Additional configurations of type ||No|
|credentials||Object of type ||No|
|region||Region of the AWS account hosting the s3 bucket for storing recordings. If not provided it is assumed to be ||No|
|key||Access Key for the AWS account hosting the s3 bucket for storing recordings||Yes|
|secret||Secret for the AWS account hosting the s3 bucket for storing recordings||Yes|
Composite recording mp4 will be placed at -
Individual recording mp4s will be placed at -