daily-examples/custom/recording
J Taylor fff932f979 renamed daily-js to custom 2021-09-23 17:22:47 +01:00
..
components renamed daily-js to custom 2021-09-23 17:22:47 +01:00
contexts renamed daily-js to custom 2021-09-23 17:22:47 +01:00
pages renamed daily-js to custom 2021-09-23 17:22:47 +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 renamed daily-js to custom 2021-09-23 17:22:47 +01: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 both cloud and local recording modes (specified when creating the room or managed using the Daily dashboard)
  • 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