Cloudflare's Calls-API example: Svelte & Golang
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
- Install Golang 1.22.0
- Install npm 10.7.0
cd frontend
npm install
npm run dev
cd backend
go run . --appId=<appId> --appSecret=<appSecret>