VoltKit RTC
Free account requiredAndroid video and voice call SDK in Kotlin
Voice calls from ₹39 (≈ $0.41), Full HD video at ₹99 (≈ $1.04) per 1,000 participant-minutes, billed per second.
A native SDK for Android apps, in Kotlin with coroutines and Flow. It is voice first: it runs the phone's call audio for you, with routing for headsets as they come and go, and repairs the media path after a network change without dropping the call. One Gradle line from Maven Central brings it in.
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
- Voice first, video too
- Earpiece, speaker, headsets
- Survives a network change
- On Maven Central
- Billed per second

Code
A call in Kotlin
Your backend creates the room and mints a token with the user's role. Collect before connecting, because tracks already live arrive during connect(). Remote audio plays by itself.
implementation("in.voltkit:voltkit-rtc:0.9.19")import com.voltkit.rtc.*
class CallActivity : ComponentActivity() {
private lateinit var client: StreamClient
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val wsUrl = intent.getStringExtra("wsUrl")!! // from your backend
val token = intent.getStringExtra("token")!!
client = StreamClient(this, wsUrl, token)
// Collect before connecting: tracks already live arrive during connect().
lifecycleScope.launch { client.onTrack.collect { t -> if (t.isVideo) client.attachVideo(t, remoteRenderer) } }
lifecycleScope.launch { client.onClosed.collect { reason -> showEnded(reason) } }
lifecycleScope.launch {
try {
val join = client.connect(mapOf("name" to "Asha"))
if (join.role.canPublish) client.publish(PublishOptions(video = false)) // voice only; PublishOptions() adds the camera
} catch (e: RpcError) {
showError(e.code)
}
}
}
override fun onDestroy() {
client.close() // always, when leaving the call
super.onDestroy()
}
}implementation("in.voltkit:voltkit-rtc:0.9.19")val client = StreamClient(context, wsUrl, token, StreamOptions(speakerphone = false)) // earpiece, like a phone call
client.setSpeakerphoneOn(true) // loudspeaker; a headset still wins
lifecycleScope.launch { client.audioOutput.collect { out -> speakerIcon(out?.type) } }
val outputs = client.listDevices(DeviceKind.audiooutput) // speaker, earpiece, wired, bluetooth:12, usb:...
client.switchDevice(DeviceKind.audiooutput, "speaker") // by hand, wins over a headsetimplementation("in.voltkit:voltkit-rtc:0.9.19")val cameras = client.listDevices(DeviceKind.videoinput) // front cameras first, then back and external
val back = cameras.firstOrNull { it.facing == CameraFacing.back }
client.publish(PublishOptions(camera = CameraOptions(front = false, deviceId = back?.deviceId)))
client.switchCamera() // front and back, on the same trackBuilt in
What the SDK handles, and what your app builds
What VoltKit does
- Call audio: the call mode, audio focus and routing, put back when the call closes
- Bluetooth, wired and USB headsets as they come and go, with a pass over a Bluetooth headset that refuses
- A dropped connection rejoins and publishes again by itself; a Wi-Fi to mobile data switch repairs the media path without a rejoin
- Adaptive video: attachVideo receives each video at the size it is shown and none while hidden
- When even the sound breaks up, remote cameras pause so the audio gets the bandwidth
- A pre-call check and a diagnostics snapshot for a support ticket, with no token in it
What your app builds
- Your token endpoint and your sign-in
- The call screen, with a SurfaceViewRenderer for each video
- Asking for RECORD_AUDIO and CAMERA at run time
- A foreground service for calls with the screen off
- Ringing, with your own push channel
What has been tested: VoltKit has tested the audio routing with fakes and on an emulator with no earpiece, not yet on a phone with an earpiece or a Bluetooth headset. Try it on your own devices before a launch.
Requirements
What it needs in your build
| minSdk | 23 (Android 6.0) |
|---|---|
| compileSdk | 36 or newer |
| Kotlin in your app | 2.2 or newer; Java 11 bytecode |
| ABIs | arm64-v8a, armeabi-v7a, x86_64, 16 KB page aligned as Google Play requires |
| R8 / ProGuard | Nothing to add; the AAR ships its rules |
| Licence | MIT |
Do not add another artifact that bundles WebRTC's Java classes: two copies clash at load time. Also on Android: chat over the same connection, seats and raise hand for voice chat rooms, screen sharing through Android's own consent screen, and in-app music.
Migrate
Coming from Agora on Android
The concepts carry over: a channel is a room, a uid is an identity, and roles move from the client to a token your backend asks for, with the role it chooses.
| Agora RtcEngine | VoltKit StreamClient |
|---|---|
| RtcEngine.create(config) | StreamClient(context, wsUrl, token) |
| joinChannel(token, channel, uid, options) | connect(metadata) |
| leaveChannel(), RtcEngine.destroy() | close() |
| muteLocalAudioStream(muted) | setMicEnabled(!muted) |
| setEnableSpeakerphone(on) | setSpeakerphoneOn(on) |
| setupRemoteVideo(VideoCanvas) | attachVideo(track, renderer) |
| startEchoTest / startLastmileProbeTest | StreamClient.preflight(context, wsUrl, token) |
The whole table, callbacks included: migrating from Agora. Prices side by side: Agora alternative.
The artifact has no price of its own: usage is billed per second, at the voice or video rate each person is on. Every rate is on the pricing page, and a voice app has its own page: voice calling API. One codebase for Android and iOS instead? See the Flutter SDK.
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.
The Android SDK: questions
Is there a native Android SDK?
Yes: in.voltkit:voltkit-rtc 0.9.19, on Maven Central, written in Kotlin with coroutines and Flow. One Gradle line brings the protocol layer, the mediasoup client and the WebRTC build it contains, OkHttp and coroutines. MIT licensed.
What does voice first mean?
The SDK runs the device's call audio for you: call mode, audio focus, earpiece or loudspeaker, and Bluetooth and wired headsets as they come and go. It repairs the media path after a network change without dropping the call, and tells you who is speaking and how the connection is. Video works too: PublishOptions() adds the camera.
Can it run alongside another call SDK?
Test it in a build without your current one. Do not add another artifact that bundles WebRTC's Java classes, such as org.webrtc:google-webrtc: two copies clash at load time, and two call engines in one app compete for the microphone and the audio routing.
Can an Android call carry on with the screen off?
Yes, from a foreground service of type microphone that you declare and start while your app is visible; video calls add the camera type. The SDK does the rest: it pauses videos at the server while the app is in the background, and the sound keeps playing.
Do I need Bluetooth permissions for headsets?
No. INTERNET, ACCESS_NETWORK_STATE and MODIFY_AUDIO_SETTINGS come with the SDK's manifest, and Bluetooth headsets need no Bluetooth permission. You ask for RECORD_AUDIO, and CAMERA if you publish video, at run time before publish().
How do I move from Agora on Android?
Replace your token builder with two REST calls on your backend, and RtcEngine with one StreamClient per call or room. The main calls map almost one to one, and the migration guide has the whole table, callbacks included.
Can the Android SDK play music in a room?
Yes: publishMusic with the SDK's MusicPlayer plays a file and mixes it into the microphone before encoding, so it never echoes. It is billed as the music add-on while it plays, on voice rates.
What does an Android voice call cost?
A 10-minute call between two people is 20 participant-minutes: 0.78 credits, ₹0.78 (≈ $0.01) at today's rate, charged per second.
Add calls to your Android app
Create a free account, make an RTC project, switch on the media you need in its settings, and follow the guide to put two phones in one call.
Talk to us:contact@voltkit.inWhatsApp