daily-examples/custom
Kimberlee Johnson 9f88c5487e First pass at updating after linting and changing imports 2021-10-05 12:00:49 -07:00
..
basic-call fixed live-streaming symlink and README link to ParticipantsProvider 2021-10-05 11:44:27 +03:00
flying-emojis updated each demo 2021-09-29 13:50:50 +01:00
live-streaming fixed live-streaming symlink and README link to ParticipantsProvider 2021-10-05 11:44:27 +03:00
pagination updated each demo 2021-09-29 13:50:50 +01:00
recording updated each demo 2021-09-29 13:50:50 +01:00
shared First pass at updating after linting and changing imports 2021-10-05 12:00:49 -07:00
text-chat Updated broader README and moved Header to shared component 2021-10-05 10:04:06 -07:00
.gitignore renamed daily-js to custom 2021-09-23 17:22:47 +01:00
README.md removed 'daily js' from readme 2021-10-05 11:15:35 +03:00

README.md

Custom Examples (Daily JS)

🤙 Basic call

The basic call demo (derived from our prebuilt UI codebase) demonstrates how to create a video and audio call using Call Object mode.

💬 Text chat

Send messages to other participants using sendAppMessage

📺 Live streaming

Broadcast call to a custom RTMP endpoint using a variety of different layout modes

⏺️ Recording

Record a call video and audio using both cloud and local modes

🔥 Flying emojis

Send emoji reactions to all clients using sendAppMessage

📃 Pagination

Demonstrates using manual track management to support larger call sizes


Getting started

We recommend starting with the basic call example, showcasing the common flow of a call Daily call, device management and error handling.

Run an examples with yarn workspace @custom/[demo-name] dev (replacing [demo-name] with the name of the demo you'd like to run e.g. basic-call.

  • Please ensure your Daily rooms are setup to use web sockets
  • Follow the instructions within each demo first, making sure to set all the necassary local environment variables etc
  • Examples are served using nextjs

Shared code

These examples re-use some common components, contexts, hooks and libraries. These can be found in the shared folder.

Deploy your own on Vercel

Deploy with Vercel