Zesky665

Zesky665

I did my graduation thesis last october on webRTC & elixir and it was near identical to the talk given by Scott Hamilton on this years ElixirConf.

I have no specific insight or anything similar.
It was just a weird coincidence that gave me pause.

Showing Posts 1 to 4

kokolegorille

kokolegorille

That is nice coincidence, did You use Elixir as a middleman between Client and Janus, as done in the presentation?

You should apply for next Elixir conf :slight_smile:

Zesky665

Zesky665 OP

I thought about it, but I was on a really tight schedule so I decided to do it as a mesh network mostly cobbled together with a genserver(for state) and channel(for signaling).

The genserver stored relations so if someone joined or left it redid the signaling and the channel passed messages around.

The biggest deja vu part of me was the part in the end where the demonstrations and the demo mishap happened. It was word for word the same as my presentation. And RTC getting outdated while you’re working with it was just a MOOD.

The issue with the phone was probably due to the router, RTC without an ice server sometimes gets blocked by when trying to connect over different networks.

kokolegorille

kokolegorille

I have tried a similar approach (GenServer and Channels), but it becomes complicate when dealing with multiple users (more than 2) in a room :slight_smile:

Zesky665

Zesky665 OP

I managed to make make it work with up to 4 in a room but that required a lot of ugly hardcode on the js side. The genserver assigned numbers to each of the participants and sent the connections according to a predefined list.

Ex:

User 1 connects to users 2,3,4

User 2 connects to users 3,4

User 3 connects to users 4

User 4 connects to users no one

— 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 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
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
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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
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