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

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
_mfierro
Hello, I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
nseaSeb
AcmeScript — Writing JS hooks as if I were still using Elixir I’ve been having fun building a little something over the last few days: Ac...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews