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

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
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
jtormey
Lately I’ve been thinking about how to organize components as a LiveView application grows. One of the pain points I’ve found (for myself...
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
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New

Other Trending Topics Top

kraleppa
Voyager v0.2.0 is out! Main thread: Voyager - a modern alternative to Observer Voyager is a modern desktop app for inspecting live BEAM ...
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
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
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
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews