daily-examples/custom/recording
Kimberlee Johnson 16d259ccc4 First pass at more recording types, updated README 2021-11-22 16:57:27 -08:00
..
components First pass at more recording types, updated README 2021-11-22 16:57:27 -08:00
contexts First pass at more recording types, updated README 2021-11-22 16:57:27 -08:00
pages updated each demo 2021-09-29 13:50:50 +01:00
public/assets renamed daily-js to custom 2021-09-23 17:22:47 +01:00
.babelrc renamed daily-js to custom 2021-09-23 17:22:47 +01:00
README.md First pass at more recording types, updated README 2021-11-22 16:57:27 -08:00
env.example renamed daily-js to custom 2021-09-23 17:22:47 +01:00
image.png renamed daily-js to custom 2021-09-23 17:22:47 +01:00
index.js renamed daily-js to custom 2021-09-23 17:22:47 +01:00
next.config.js renamed daily-js to custom 2021-09-23 17:22:47 +01:00
package.json renamed daily-js to custom 2021-09-23 17:22:47 +01:00

README.md

Recording

Recording


What does this demo do?

  • Use startRecording to create a video and audio recording of your call. You can read more about Daily call recording (and the different modes and types) here
  • Supports cloud, cloud-beta, local, and rtp-tracks recording modes (specified when creating the room or managed using the Daily dashboard). Heads up: if recording on mobile devices or Safari, then cloud-beta must be the specified mode.
  • Coming soon: support different recording layouts / composites
  • Coming soon: use the Daily REST API to retrieve a list of cloud recordings for the currently active room

To turn on recording, you need to be on the Scale plan. There is also a per minute recording fee for cloud recording.

Please note: this demo is not currently mobile optimised.

Getting started

# set both DAILY_API_KEY and DAILY_DOMAIN
mv env.example .env.local

yarn
yarn workspace @custom/recording dev

How does this demo work?

This example introduces a new RecordingProvider context that listens for the various recording events, counts down to begin a recording and stops a currently active recording. We also introduce a new recording modal and tray button.

Remember to follow the best practises detailed in the documentation to avoid lengthy or stuck recordings.

Deploy your own on Vercel

Deploy with Vercel