VoltKit RTC
Free account requiredJavaScript video call SDK: add video calling to a website
Voice calls from ₹39 (≈ $0.41), Full HD video at ₹99 (≈ $1.04) per 1,000 participant-minutes, billed per second.
@voltkit-rtc/client is a WebRTC SDK for the browser. It wraps the realtime protocol, so your page deals in rooms, tracks and messages rather than transports and reconnection. It works in TypeScript or plain JavaScript, with any bundler or framework, and the markup stays yours.
Every account gets 10,000 free participant-minutes every month, shared by all your projects, at any quality. Use them up and the rest is billed from your wallet or plan at the same rates; they reset on the 1st of each month (UTC). How the free minutes work
- TypeScript or plain JavaScript
- ES modules and CommonJS
- Screen sharing from a click
- Chat on the same connection
- Billed per second

Code
Join a room, publish, share a screen, chat
Your backend mints a token for each user and hands the page the token and wsUrl. Wire the events first, because tracks already being published arrive during connect().
$ npm install @voltkit-rtc/clientimport { StreamClient } from "@voltkit-rtc/client";
const { token, wsUrl } = await fetch(`/api/calls/${callId}/token`, { method: "POST" }).then((r) => r.json());
const client = new StreamClient(wsUrl, token);
// Wire events before connecting: tracks that are already
// being published arrive during connect().
client.on("track", ({ producerId, identity, kind, source, track }) => {
const element = mediaElementFor(producerId, identity, kind, source); // your <video> or <audio>
element.srcObject = new MediaStream([track]);
void client.play(element); // see "Sound that needs a tap"
});
client.on("trackEnded", ({ producerId }) => removeMediaElement(producerId));
client.on("participantJoined", (p) => addToRoster(p));
client.on("participantLeft", ({ identity, reason }) => removeFromRoster(identity, reason));
client.on("closed", (reason) => leaveScreen(reason));
const joined = await client.connect(); // rejects when the join is refused: see Errors
console.log(joined.role, joined.participants);$ npm install @voltkit-rtc/clientconst constraints = { audio: true, video: { width: 1280, height: 720 } }; // 720p
const media = await navigator.mediaDevices.getUserMedia(constraints);
await client.publish(media, constraints);
preview.muted = true; // never play your own sound back to yourself
preview.srcObject = client.local; // what goes out, video effects included
client.on("localStreamChanged", (stream) => { preview.srcObject = stream; });
await client.setMicEnabled(false); // mute yourself
await client.setCamEnabled(false); // camera off
await client.unpublish(); // stop and release the devices$ npm install @voltkit-rtc/clientclient.on("screenShareStarted", ({ stream, mode }) => showLocalScreen(stream, mode));
client.on("screenShareEnded", ({ reason }) => hideLocalScreen(reason));
await client.publishScreen({ mode: "detail", audio: true }); // from a button click
await client.unpublishScreen(); // camera, mic and music continue$ npm install @voltkit-rtc/clientclient.on("message", (m) => appendToList(m)); // your own messages come back too
client.on("messageDeleted", ({ id }) => removeFromList(id));
client.on("typing", ({ identity, typing }) => showTyping(identity, typing));
client.on("chatMuted", ({ identity, muted }) => lockComposer(identity, muted));
await client.sendMessage("hello everyone");
await client.sendMessage("psst", { to: "user-42" }); // direct message
await client.sendMessage("", { type: "reaction", metadata: { emoji: "heart" }, ephemeral: true }); // not stored
const older = await client.getMessages({ limit: 50, before: oldest.id });
await client.setTyping(true); // safe on every keystroke$ npm install @voltkit-rtc/client @mediapipe/tasks-vision@0.10.35import { createNoiseSuppressor } from "@voltkit-rtc/client/noise-suppression";
await client.setAudioProcessor(createNoiseSuppressor()); // before or after publish
await client.setAudioProcessor(null); // the microphone as it is again
// … and the camera, from its own entry point
import { createVideoEffects, isVideoEffectsSupported } from "@voltkit-rtc/client/video-effects";
if (isVideoEffectsSupported()) {
const effects = createVideoEffects({ background: "blur", beauty: true });
await client.setVideoProcessor(effects);
await effects.update({ background: { image: "/office.jpg" } }); // live, no pause for viewers
}Built in
What the SDK handles, and what your page builds
What @voltkit-rtc/client does
- Joins a room from a token and a URL, and hands you each track with who sent it and what it is
- Sends video at several quality levels at once, so each viewer receives the one their connection can carry
- Reconnects with backoff after a drop, then publishes the camera, microphone, music and a live screen share again with the same options
- Puts the sound first on a very poor connection, and brings the video back once the connection has recovered
- Plays a track the browser refused on the viewer's next tap, click or key press, and tells you so you can ask for that tap
- Leaves its token out of JSON.stringify, spreads, error trackers and error messages
What your page builds
- Your token endpoint and your sign-in
- The screen: a video or audio element for each track, the tiles and the buttons
- A camera and microphone picker, from listDevices and devicesChanged
- The words while it reconnects, and when a call ends
- Ringing: your push channel rings the other person
Choose 1080p, 720p or 480p with publish's quality option, or while live with setVideoQuality. A project's settings say the most it may publish, and the SDK never sends what they refuse.
Frameworks
With or without a framework
One package, for a plain page or a single-page app. These are the places a framework or a browser changes something.
- A plain pageImport it as an ES module or require it as CommonJS, each with TypeScript types. Give video elements playsinline and muted, because the sound arrives on its own audio track.
- React and Next.jsThe React SDK wraps this client in a provider, hooks and two components, and is safe to render on the server.
- Vue, MobX and other reactive stateFrom 0.9.8 the client works when a framework wraps it in a Proxy: Vue's reactive() or ref(), or a MobX observable.
- Single-page appsCall client.close() when the call screen goes away, such as in Vue's onUnmounted: a client dropped without it keeps reconnecting in the background. After closed the client is finished, so to join again, make a new StreamClient.
- HTTPSBrowsers give a page the camera and microphone only over HTTPS, or on http://localhost while you develop.
- PhonesOn phones and tablets it sends two copies of the video rather than three, and H.264 where the device encodes it in hardware. For a native app, use the Flutter, React Native or Android SDK.
In the SDK
Beyond the call itself
Noise suppression and video effects are separate entry points, so an app that does not use them never downloads them.
- Noise suppressionRNNoise, a small neural network in the browser's audio thread, takes fans, traffic and air conditioning out of the microphone. The model and its worklet, about 220 kB, load the first time it runs. Turn it on from a click.
- Virtual background and beautyA blurred or replaced background and skin smoothing, on the GPU in the browser. Backgrounds need @mediapipe/tasks-vision 0.10.35 installed beside the SDK and about 3 MB of files the first time. Beauty alone needs none of it.
- Screen sharingBeside the camera, from a button click: detail mode at 15 fps for slides, documents and code, or motion mode at 30 fps. See screen sharing.
- ChatEvery room has a chat channel, carried on the connection the client already holds, with direct messages, reactions and typing. For people who only read along, ChatClient opens a connection that carries chat and nothing else. See in-app chat.
- Music in the roomA host plays music from inside the page as its own track, never picked up by the microphone, with a switch of its own. See music sharing.
- ModerationRaise a hand, ask someone to mute, hold a camera off, promote to co-host, remove someone and end the room. The service enforces who may: a role that may not moderate is refused.
- A check before a callStreamClient.preflight joins a test room, publishes for a few seconds and leaves, then reports each step, how media travelled, the round trip, loss and upload. Those few seconds are billed like any session.
- Who is speaking, and diagnosticsaudioLevels gives everyone's sound about four times a second, and activeSpeakers the people speaking, most active first. getDiagnostics gives a snapshot to attach to a support request.
Limits
What it does not do
Worth knowing before you plan around it.
- Draw anything: it hands you tracks and events, and your page shows them. The React SDK adds components, not a call screen.
- Hold your API secret: every token comes from your backend.
- Share a screen on most phones: publishScreen rejects with screen-share-unsupported where the browser cannot capture one.
- Route sound to a speaker: listDevices lists speakers, and you set one on your own audio elements with setSinkId, where the browser supports it.
- Choose a new camera by itself: a camera that is unplugged is switched off for you to offer another. A microphone comes back from the system default.
- Ringing: your push channel rings the other person.
A step at a time: the quickstart puts two people in a room before any SDK, and token server builds the endpoint this SDK needs. Whichever framework you use, usage is billed per second, per person: every rate, and each vendor's on compare video APIs.
Prices are in Indian rupees; dollar figures are approximate, at ₹95 per US dollar on 24 October 2026, for orientation only. You are billed in rupees.
What you can build with it: Video calling API, Voice calling API, Live chat, Voice chat rooms and Music sharing.
Guides: How to Add Voice Chat to a Browser Game, Add Live Chat and Reactions Without a Chat Server and How to Add a Video Call to a Next.js App.
The JavaScript SDK: questions
Is there a JavaScript SDK for video calls?
Yes: @voltkit-rtc/client 0.9.20, on npm, under the MIT licence. It is a WebRTC JavaScript SDK for the browser that works in TypeScript or plain JavaScript, with any bundler or framework, as ES modules or CommonJS, each with its own types.
How do I add video calling to a website?
Make a free account and an RTC project, and switch on the media you need in its settings. Add a token endpoint to your backend. On the page, install the SDK, make a client with the token and wsUrl, connect it, and attach each track it hands you to your own video or audio element. Browsers give a page the camera and microphone only over HTTPS, or on localhost while you develop.
Do I need to know WebRTC to use it?
No. The SDK wraps the realtime protocol, so your page deals in rooms, tracks and messages rather than transports and reconnection. What you handle is the browser's side of a track: put it in a video or audio element and show it. The guide ends with a complete call page.
Does it work with Vue, or with no framework at all?
Both. It needs no framework. From 0.9.8 the client also works when a framework wraps it in a Proxy, such as Vue's reactive() or ref(). In a single-page app, call client.close() when the call screen goes away, for example in Vue's onUnmounted. For React and Next.js, the React SDK adds hooks and components over this client.
How does a web page get its token?
From your backend, which holds the API secret, checks who the user is and mints a token with the role you decide, using a server SDK for Node.js, Python, Go, PHP and Java or two REST calls. The API secret never reaches the browser. A token lives ten minutes by default, so ask for one right before joining; the service refreshes it during the session.
Does it work in a phone's browser?
Yes, for camera and microphone over HTTPS. On phones and tablets it sends two copies of the video rather than three, and H.264 where the device encodes it in hardware. Most phone browsers cannot capture a screen, so screen sharing rejects there. For a native app, use the Flutter, React Native or Android SDK.
Can it remove background noise or blur the background?
Yes, and each is a separate import, so an app that does not use it never downloads it. Noise suppression is RNNoise, a small neural network in the browser's audio thread. Virtual backgrounds and beauty run in the browser on the GPU; a background also needs @mediapipe/tasks-vision installed beside the SDK.
What does a video call on a website cost?
A 10-minute 1:1 call is 20 participant-minutes: 1.98 credits, ₹1.98 (≈ $0.02) at today's rate, charged per second. The SDK has no price of its own.
Add video calling to your website
Create a free account, make an RTC project, switch on the media you need in its settings, and follow the guide to put two browsers in one call.
Talk to us:contact@voltkit.inWhatsApp