Recording

Introduction

Recording can be used to save audio/video calls for offline viewing. 100ms supports both individual and composite recordings.

Types of recording

Individual recording

Media for each peer is provided as a seperate mp4 file. This file will have both audio and video of the peer. These files can be used for offline review or in implementating custom composition.

Composite recording

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.

How to enable recording

Using Dashboard

Recording can be enabled when creating a room

Enable recording when creating a room

Using API

Uploading destination configuration

By default recordings will be uploaded to 100ms storage and a presigned URL for the same will be provided to customers via a webhook. The presigned url will expire in 12hours. Customers can also configure the recordings to be stored in thier cloud storage. Following are the configurations for the same.

NameTypeDescriptionRequired
typestringUpload Destination type. Currently, only s3 is supportedYes
locationstringName of the AWS s3 bucket in which you want to store all recordingsYes
prefixstringUpload prefix pathNo
optionsobjectOptions to be used for uploading i.e. region, ACLs etcNo
credentialsobjectObject of type Credentials. This is used to share AWS credentials to access the s3 bucket specified. Leave this blank if you are using an IAM role to provide 100ms access to your s3 bucketNo

Where credentials is

NameTypeDescriptionRequired
keystringAccess Key for the AWS account hosting the s3 bucket for recordings' storageYes
secretstringSecret for the AWS account hosting the s3 bucket for recordings' storageYes

Recording mp4 will be placed at - s3://location/prefix/<room_id>/<start_date>/<session_id>/