infecting

infecting

Not sure what category to dump this in so sorry if this is in the wrong section. Recently I have been doing some basic research on voice chat servers because I find them interesting. However, I haven’t found a lot of material on underlying technology of voice chat servers (non webrtc), especially with elixir (most of the stuff I have seen is involving SIP phone stuff). I am looking to make some sort of voice chat using an elixir backend, but im not sure exactly what libraries could be used for such a task. I am going to give the information I have been able to find in the last hour or so and if I could get any feedback/direction that would be greatly appreciated.

  1. MongooseIM (this looks the most intriguing)
  2. Cowboy (this may be naive but it looks like they have some sort of socket data)
  3. Jingle (this looks like SIP though so not 100% sure. I may also be undereducated about SIP though)

Showing Posts 1 to 3

hudsonbay

hudsonbay

But Cowboy is a web server. Think of it as Caddy, Nginx, Apache, etc. Elixir runs over Cowboy

Copser

Copser

Hey, I think you should consider using phoenix channels and do the communication over a socket. Phoenix comes with an integrated (batteries included) javascript package called phoenix-socket which you will also need to register a user to a socket channel. There are some nice tutorials on the channels documentation.

The communication should be real-time so a good place to start will be the official Webrtc documentation or maybe a better one is this tutorial which can give you some nice examples on how to approach this from the client-side.

You will also need Turn servers because the WebRTC communication will also be per to per so Xirsys can give you a free tear which can be used for development, and it’s solid.

JeyHey

JeyHey

For voice chat you need the following components:

  • a signaling channel (this can be a phoenix channel)
  • a STUN and TURN server (do you want this in Elixir/Erlang as well? If you do, MongooseIM supports the protocol. If not you can use Coturn.)
  • a voip client (here I would recommend WebRTC)
— All posts loaded —

Where Next? Top

Trending in Discussions Top

juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
jam
This was an interesting post by Jose. Curious to hear what others think. Evolving programming languages in the AI era - Dashbit Blog Gen...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New

Other Trending Topics Top

mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews