1
4 Comments

Enabling voice calls between users

Hi all,

I'm not a developer but will be working with some. I'm curious what the most cost-effective option is for me if I'm looking to enable peer-to-peer voice calls in my mobile applications on iOS and Android. Are there free/open-source ways of doing this?

FYI - Ideally it would work to connect people anywhere in the world, so long as they have a decent internet connection.

I'd love any thoughts or suggestions you have. Thanks!

on November 14, 2022
  1. 1

    Isn't this what WebRTC is designed for?

    I have no real hands-on experience, but I thought you could do video/audio peer-to-peer in WebRTC for "free". You need to run an exchange (maybe there is an open one) to enable people to find each other & connect, then devices communicate directly.

    1. 1

      Based on my research, it does seem like webRTC could be useful here, though I'll need to talk with a SWE who has some familiarity with it in order to know for sure.

  2. 1

    Peer-to-peer voice chat is not as simple as it seems. Technically, depending on the user network scenario, they may require additional network infrastructure to handle the media. With that said, it is not free and you need a specialized type of developer that understand media communication.

    1. 1

      Yeah, I figured it might not be as easy as it seems. Lots of apps support it (WhatsApp, Telegram, LINE, WeChat, etc.) but these are all well-funded companies. I'm wondering what the bootstrap way to support these kinds of calls would be.