daily-examples/dailyjs
Jon 73dabf2758 merge Chrome92 changes 2021-07-28 16:06:40 +01:00
..
active-speaker merge Chrome92 changes 2021-07-28 16:06:40 +01:00
basic-call Merge branch 'main' of github.com:daily-demos/examples into dailyjs/track-subs 2021-07-28 15:35:25 +01:00
flying-emojis added recording and streaming 2021-07-20 15:10:48 +01:00
live-streaming added active speaker view 2021-07-23 12:44:14 +01:00
pagination added bandwidth controls to ParticipantProvider 2021-07-23 14:49:30 +01:00
recording added recording and streaming 2021-07-20 15:10:48 +01:00
shared merge Chrome92 changes 2021-07-28 16:06:40 +01:00
text-chat added RoomContainer abstraction 2021-07-20 14:00:05 +01:00
.gitignore updates from ENG-2175 2021-07-08 15:22:59 +01:00
README.md resolve conflicts 2021-07-15 15:12:57 +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

📃 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 @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