daily-examples/dailyjs
Jon Taylor 6164bd86d9
Merge pull request #18 from daily-demos/dailyjs/livestreaming
Live streaming
2021-06-28 21:10:05 +01:00
..
basic-call fixed vercel build errors 2021-06-28 14:40:43 +01:00
live-streaming fixed vercel build errors 2021-06-28 14:40:43 +01:00
shared Merge pull request #18 from daily-demos/dailyjs/livestreaming 2021-06-28 21:10:05 +01:00
text-chat further improvements to README 2021-06-23 18:02:25 +01:00
README.md added image to readme 2021-06-24 18:00:06 +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 difference layout modes


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