te_chris

te_chris

How to build a livestream mixer in Elixir

So my friends and I have put on a couple of livestream “gigs” thus far via mixcloud.

The way we’ve handled changeovers thus far has been to just have one person stop and the other one start. This works completely fine, but I’ve been thinking it might be possible to (as a small personal project) use elixir to build a service that we can stream concurrently to, then expose a simple interface for selecting which current stream to show, and this is then proxied to an actual service (mixcloud, in our case).

I’ve had a look, and it seems like there are some libraries in Ex for various parts of this: RTSP client lib to do the stream to mixcloud, saw an old thread about RTSP server as well.

I guess I’m just looking for thoughts and advice as I start: libraries to look at, libraries to avoid, things to consider. I haven’t work with streaming media before at all really, most I’ve done streaming wise is a little bit of work on live twitter data, so any advice is appreciated!

First Post!

mpope

mpope

Are you interested in ingesting multiple streams on one server and directing them to MixCloud, and not streaming multiple from MixCloud to one browser session?

Last Post!

mpope

mpope

Ah, I can offer less help in this case sadly. Is your source audio from something like a DAW or is this a video stream?

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
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
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
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
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
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
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement