Menu

Add 1:1 voice calling to a Flutter app in about 10 minutes (no servers to run)
📰

Add 1:1 voice calling to a Flutter app in about 10 minutes (no servers to run)

DEV Community: flutter·DevSquare·3 days ago
#vw2O0klw
#devtoflutter#devto#dev#call#dart
Reading 0:00
15s threshold

Adding calls to an app usually means learning WebRTC, running a signaling server, and setting up TURN relays so calls still connect on mobile data. That's weeks of work before you hear a single "hello".

In this tutorial we'll skip all of that and build a working 1:1 voice call between two Android phones in Flutter , with:

call, accept and reject

mute and hang up

a "Reconnecting…" state when someone's network drops for a few seconds

We'll use RTCExpress , a hosted voice/video/chat SDK I'm building at Devsquare Labs. Signaling, TURN and media servers are hosted for you, and the Free plan covers everything in this post.

1. What you need

Flutter 3.19 or newer ( flutter --version )

Two Android devices, or one phone and one emulator (Android 7.0 / API 24+)

A free RTCExpress project for the App ID : create one here (no credit card)

The Flutter plugin supports Android today. iOS is included but still experimental.

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.