Skip to content
Proyek

Tentang

Meet is a demo application built using Cloudflare Realtime SFU. To build your own WebRTC application using Cloudflare Realtime, get started in the Cloudflare Dashboard.

Alat pengembangan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+2
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Welcome to Cloudflare Meet

(Cloudflare Meet was formerly known as Orange Meets)

Meet is a demo application built using Cloudflare Realtime SFU. To build your own WebRTC application using Cloudflare Realtime, get started in the Cloudflare Dashboard.

Simpler examples can be found here.

Try the demo here!

A screenshot showing a room in Meet

Architecture Diagram

Diagram of Meet architecture

Variables

Go to the Cloudflare Realtime 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).
  • E2EE_SAFETY_NUMBER_LENGTH (default 20, min 16, max 52): when E2EE is enabled, the number of characters in the safety number that participants compare to verify the group. Safety numbers use Crockford's base32 alphabet (0-9 and A-Z without I, L, O, U), so each character carries 5 bits and the default gives 100 bits. Shorter values make it easier for an attacker to find a colliding safety number and impersonate a participant.

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

Development

npm install
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 CALLS_APP_ID in wrangler.toml to use your own Calls App ID

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

wrangler secret put CALLS_APP_SECRET

or to programmatically set the secret, run:

echo REPLACE_WITH_YOUR_SECRET | wrangler secret put CALLS_APP_SECRET
  1. Optionally, you can also use Cloudflare's TURN Service by setting the TURN_SERVICE_ID variable in wrangler.toml and TURN_SERVICE_TOKEN secret using wrangler secret put TURN_SERVICE_TOKEN

  2. Also optionally, you can include OPENAI_MODEL_ENDPOINT and OPENAI_API_TOKEN to use OpenAI's Realtime API with WebRTC to invite AI to join your meeting.

  3. Finally you can run the following to deploy:

npm run deploy

Jelajahi proyek terkait

Memuat…