Code Monkey home page Code Monkey logo

bloo's Introduction

Welcome to Orange Meets

Orange Meets is a demo application built using Cloudflare Calls. To build your own WebRTC application using Cloudflare Calls, get started in the Cloudflare Dashboard.

Try the demo here!

A screenshot showing a room in Orange Meets

Architecture Diagram

Diagram of Orange Meets architecture

Variables

Go to the Cloudflare Calls dashboard and create an application.

Put these variables into .dev.vars

CALLS_APP_ID=<APP_ID_GOES_HERE>
CALLS_APP_SECRET=<SECRET_GOES_HERE>

Optional variables

The following variables are optional:

  • MAX_WEBCAM_BITRATE (default 1200000): the maximum bitrate for each meeting participant's webcam.
  • MAX_WEBCAM_FRAMERATE (default: 24): the maximum number of frames per second for each meeting participant's webcam.
  • MAX_WEBCAM_QUALITY_LEVEL (default 1080): the maximum resolution for each meeting participant's webcam, based on the smallest dimension (i.e. the default is 1080p).

To customise these variables, place replacement values in .dev.vars (for development) and in the [vars] section of wrangler.toml (for the deployment).

Development

npm run dev

Open up http://127.0.0.1:8787 and you should be ready to go!

Deployment

  1. Make sure you've installed wrangler and are logged in by running:
wrangler login
  1. Update the account_id and CALLS_APP_ID in wrangler.toml to use your own Cloudflare Account ID and Calls App ID

  2. You will also need to set the token as a secret by running:

wrangler secret put CALLS_APP_SECRET
  1. Then you can run
npm run deploy

bloo's People

Contributors

third774 avatar benjaminehowe avatar threepointone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.