polypush135

polypush135

Webrtc + stun + open ssl 1.0 + Ubuntu 23 = 🙃

I’ve been trying to lean webrtc and have found a need for a stun/turn server.

Naturally this seems to be the most common solution for the Elixir community.
https://github.com/processone/stun

The issue I’m running into at the moment is figuring out the right process for installing OpenSSL 1.0.0+ on Ubuntu23. I realize this is not an elixir specific issue but since it would look as if this mix lib is the most common I was wondering what people are doing for a stun server right now given the issues with openssl 1?

Most Liked

JeyHey

JeyHey

There are public STUN servers you can use. I think there is even one from Google. If it is only STUN you want, you can solve the problem this way. But it is most probably not what you want.

VoIP and WebRTC will not work reliably without a TURN server. A TURN server is a relay server meaning that the audio traffic will be routed over it if needed (peer to peer connections are not always possible). This means it will be under heavy load if you have many users. Therefore, there are no public TURN servers. You need to run your own. And since a TURN server usually also implements the STUN protocol, you will probably end up using your own server for STUN and TURN.

I used Coturn and was happy with it. It is not an Erlang or Elixir implementation but does the job pretty good as far as I can tell.

Where Next?

Popular in Questions Top

Trevoke
I have an umbrella app. Some of the apps inside depend on other apps in the umbrella, unsurprisingly. I’m writing a test for one of the...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement