daily-examples/dailyjs
Jon 1f7ebf8e22 expiry timer 2021-07-20 11:05:11 +01:00
..
basic-call expiry timer 2021-07-20 11:05:11 +01:00
flying-emojis missing env.example 2021-07-13 21:14:52 +01:00
live-fitness expiry timer 2021-07-20 11:05:11 +01:00
live-streaming missing env.example 2021-07-13 21:14:52 +01:00
recording fixed recording modal linting errors 2021-07-15 15:29:39 +01:00
shared expiry timer 2021-07-20 11:05:11 +01:00
text-chat initial commit 2021-07-19 12:30:11 +01:00
README.md added demo mode 2021-07-15 13:16:23 +01:00

README.md

Daily JS Examples

🤙 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


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