daily-examples/dailyjs/recording/README.md

1.9 KiB

Recording

Recording

Live example

See it in action here ➡️


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 @dailyjs/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