VoltKit RTC
Free account requiredMusic sharing for live rooms and voice chat
Let a host play a song for the whole room from inside your app. It never has to leave the speakers and come back through the air, so listeners hear the track itself, and the host gets a switch for it beside the microphone.
Music add-on: ₹10 (≈ $0.11) per 1,000 participant-minutes while music plays, for each participant on standard or HD voice. Included with video: a participant on video never pays it.
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
- Not picked up by the microphone
- Its own switch
- 128 kbps stereo from a browser
- Billed only while it plays

What you get
Music as its own thing, not as noise in the microphone
- Clean for everyoneFrom a browser host, the song goes out encoded for music: stereo, 128 kbps, with silence suppression off, so quiet passages are not chopped. An Android host mixes it into its microphone's track, at the microphone's quality.
- Two switchesTurn the music off and keep talking, or mute yourself and let the song play. Neither touches the other.
- A volume per listenerFrom a browser host, music is its own track, so each listener can turn it down without losing the host.
- Everyone is toldFrom a browser host, pausing the music tells every listener, and someone who joins after it started is told too, so your screen can always show what is on.
- A line of its own on the billThe add-on shows as Music add-on on Wallet, Usage and in each session's detail. Your backend can also hear when a host starts music: for a browser host, the track.published webhook says which source it is.
- Rooms of any kindA voice chat room with a DJ, a party room, or a host on camera with a backing track. In a video project a participant on video pays nothing extra for it.
Platforms
What each platform can do today
Every SDK can hear music. Publishing it differs, so check this before you plan a launch around it.
| Platform | A host publishing music | A listener hearing it |
|---|---|---|
| Browser (JavaScript, React) | publishMusic takes an audio or video element, a MediaStream or a track, and sends it as its own 128 kbps stereo track. | A second audio track, so each listener can turn it down without losing the host. |
| Android (Kotlin) | publishMusic plays a file through the SDK's MusicPlayer and mixes it into the microphone before encoding, so it never echoes. | Remote sound plays by itself, music included. |
| Flutter | The same publishMusic call, given a stream that holds the audio. On Android and iOS that needs a native audio source in your app today. | Its own track, with a volume for each listener. |
| React Native | Not available: publishing music rejects with music-unavailable. | Received like any remote audio. |
If a platform's publishing matters for your launch, write to us and say which comes first. Details: Music.
Code
Publish and hear it
A song served from another origin must send CORS headers and be loaded with crossorigin set, or the browser gives the page silence, and silence is what gets published.
$ npm install @voltkit-rtc/clientconst song = document.querySelector("audio") as HTMLAudioElement; // <audio src="/song.mp3" crossorigin="anonymous">
await client.publishMusic(song, { volume: 0.8 }); // call it from a click
await song.play();
client.setMusicVolume(0.4); // for the audience
await client.setMusicEnabled(false); // music off, host still talking
await client.setMicEnabled(false); // mic off, music still playing
await client.stopMusic();$ npm install @voltkit-rtc/clientclient.on("track", ({ identity, kind, source, track }) => {
if (source === "music") {
musicAudio.srcObject = new MediaStream([track]); // its own element, its own volume
} else {
attach(identity, kind, track);
}
});
client.on("trackMuted", ({ source, paused }) => {
if (source === "music") showMusicPaused(paused);
});
musicAudio.muted = true; // "mute the music" for this viewer only$ flutter pub add voltkit_rtc flutter_webrtc// Flutter: remote sound plays by itself; set the music's volume on its track
client.onTrack.listen((t) {
if (t.isMusic) setState(() => musicTrack = t.track);
});
client.onTrackMuted.listen((m) {
if (m.source == 'music') setState(() => musicPlaying = !m.paused);
});
await Helper.setVolume(0.3, musicTrack); // flutter_webrtc: quieter music for this listener
musicTrack.enabled = false; // or muted for this listener; the host's voice is untouchedPricing
Who pays for music
Music add-on on voice, included for participants on video. The host and every listener on voice pay it only while a track plays unmuted. It is per participant: a participant on video never pays it, and a voice-only participant who hears the music pays it, in a video project too.
- Standard VoiceUp to 64 kbps₹39 (≈ $0.41) per 1,000 participant-minutes
- HD VoiceUp to 128 kbps₹49 (≈ $0.52) per 1,000 participant-minutes
- Full HD Video + HD AudioUp to 1080p/30, HD audio included₹99 (≈ $1.04) per 1,000 participant-minutes
10 people × 30 minutes = 300 participant-minutes
300 participant-minutes × 39 ÷ 1,000 = 11.7 credits, ₹11.70 (≈ $0.12) at today's rate
Standard Voice: 39 credits per 1,000 participant-minutes. Billed per second, so a 7½-minute call costs 7½ minutes.
The same 300 participant-minutes with music throughout₹14.70 (≈ $0.15) at today's rateMusic add-on: ₹10 (≈ $0.11) per 1,000 participant-minutes while music plays, for each participant on standard or HD voice. Included with video: a participant on video never pays it. Switching the music off stops the add-on for everyone; turning it down in a player does not.
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.
Every rule: the music add-on. Every rate: pricing.
Karaoke
Karaoke-style rooms: what works, and what does not
What a sing-along room can and cannot do here.
- What worksA host plays a backing track from the app and sings into the microphone, with the two on separate switches. Listeners hear both, and can raise a hand to take the stage next.
- What you would buildYour own song catalogue, licences and lyrics display, timed in your app; a queue of who sings next, kept over chat and room metadata.
- What VoltKit does not haveLyrics sync, a song catalogue, pitch scoring, or anything that keeps two singers in time with each other, so live duets are not a fit.
- The songsThe rights are your app's and its hosts'. VoltKit carries the audio, and the acceptable use policy forbids streaming what you have no right to use.
More
What sits beside the music
- Video calling API1:1 and group video calls, adaptive up to 1080p, with screen sharing and chat in the same room.Video calls
- Voice calling APIIn-app voice calls between your users: earpiece and speaker routing, background calls, billed per second.Voice calls
- Live chatIn-app chat included with every room, and chat-only connections for people who only read along.In-app chat
- Voice chat roomsSpeakers on a stage, listeners in the room, seats and raise hand.Voice rooms
SDKs
SDKs for your apps and your backend
In your app: JavaScript SDK, React SDK, React Native SDK, Flutter SDK and Android SDK. On your backend: Node.js, Python, Go, PHP and Java. Every install line is on the VoltKit RTC page, and the native iOS (Swift) SDK has its preview notes.
Music sharing: questions
How do I play music in a live room without echo?
Send it from inside the app instead of playing it through the speakers. A song the microphone picks up is thin, late and chewed up by echo cancellation, whose whole job is to remove that sound. publishMusic takes the song from inside your app, so it never has to pass through the speakers and the microphone.
What does music sharing cost?
Music add-on: ₹10 (≈ $0.11) per 1,000 participant-minutes while music plays, for each participant on standard or HD voice. Included with video: a participant on video never pays it. The host and every listener on voice pay it only while a track plays unmuted. It is per participant: a participant on video never pays it, and a voice-only participant who hears the music pays it, in a video project too. A host and nine listeners on standard voice with music throughout, for half an hour, come to ₹14.70 (≈ $0.15).
Can listeners turn the music down?
When the host publishes from a browser, yes: music arrives as its own track, so each listener can lower or mute it without losing the host's voice. That changes nothing on the bill, because the track still arrives. When the host switches the music off, it stops for everyone, and so does the add-on.
Do I have to switch anything on?
In a voice project, yes: turn on the Music add-on under the project's Settings, Media and quality. New projects start with it off. A project with video on may always publish music. Without either, publishMusic is refused with media-disabled and the microphone is untouched.
Can a phone host play music to the room?
On Android, yes: the SDK plays a file and mixes it into the microphone. A Flutter app has the same call but needs a native audio source on Android and iOS today. React Native apps can receive music and cannot publish it.
Can I build a karaoke app with this?
You can build a backing track and a singer: music from the app and a microphone beside it, each with its own switch. VoltKit has no lyrics sync, song catalogue or pitch scoring, and it does not align one singer with another, so duets are not a fit. Those parts, and the rights, are your app's.
Who is responsible for the rights to the songs?
Your app and its hosts. VoltKit carries the audio and has no song catalogue, and the acceptable use policy forbids streaming anything you have no right to use, music included.
Put music in your rooms
Create a free account, make an RTC project, turn on the Music add-on in its settings, and publish a track from a browser host.
Talk to us:contact@voltkit.inWhatsApp