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
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
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...
515 12931 101
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
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
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
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
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
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews