The contents of this repository have been moved to cloudflare/realtimekit-web-examples. Future updates and maintenance will continue there.
This repository consists of recording sample apps created using RealtimeKit Recording SDK, our Core SDKs, and, fully customizeable UI kits.
Guide: https://docs.realtime.cloudflare.com/guides/recording/create-record-app-using-sdks
Here are a few available samples.
- React samples
A. recording-with-watermark
B. screenshare-focused
C. screenshare-focused-with-snapshot-capture
D. record-single-preset
To use these samples you would need to do the following steps:
First, you'll need to create a meeting and add a participant to that meeting.
You can do so by going to https://docs.realtime.cloudflare.com/api?v=v2 and run the APIs in the API runner itself so you can quickly get started.
Make sure you've created your RealtimeKit account at https://dev.realtime.cloudflare.com and have your
Organization ID and API Key ready to use from the
API Keys section.
- Go to
Create Meeting API
and add your credentials and run the API with your request body, note the
idyou receive in resonse, this is the meeting id. - Go to
Add Participant API
and add a participant to the meeting with the
meetingIdyou received in previous API call.
Once you're done, you'll get an authToken, which you can use in a sample as
explained below.
Here are steps to try out the samples:
- Clone the repo:
git clone git@github.com:dyte-io/recording-sdk-app-samples.git- Change directory to the sample you want to try, for example: to use recording-with-watermark react-sample use the following command:
cd react-samples/recording-with-watermark- Install the packages with your preferred package manager and start a development server and open up the page.
npm install
# and to start a dev server
npm run dev- Load the dev server in your browser and make sure you pass the
authTokenquery in the URL.
http://localhost:5173/?authToken=<your-token>
- Deploy your app using Vercel.
npm install -g vercel
vercel