Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 970 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 970 Bytes

cf-calls

Cloudflare's Calls-API example: Svelte & Golang

snaphot screenshoot of the webapp

Description

This is currently in development. The reflection of the mediastream is working.

Next steps:

  • Refactor so a single RTCPeerConnection suffices
  • For Sending MediaTrack too.
  • Change the frontend to react/ts with tailwindcss
  • Create a testing rig under /dev
  • A smooth closing of the connection
  • A user authentication logic, just a simple http-only cookie
  • A client can receive a set of tracks from a different session
  • Multiple clients in a room/conference logic

prequisites

  1. Install Golang 1.22.0
  2. Install npm 10.7.0

How to run

cd frontend
npm install
npm run dev
cd backend
go run . --appId=<appId> --appSecret=<appSecret>