# Mediasoup for Elixir

**URL:** <https://mediasoup.discourse.group/t/mediasoup-for-elixir/1487>\
**Category:** mediasoup libraries\
**Created:** [July 27, 2020, 11:39am UTC](https://mediasoup.discourse.group/t/mediasoup-for-elixir/1487 "2020-07-27T11:39:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![d4mr](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/d4mr/32/509_2.png) [@d4mr](https://mediasoup.discourse.group/u/d4mr)\
**Post date:** [July 27, 2020, 11:39am UTC](https://mediasoup.discourse.group/t/mediasoup-for-elixir/1487/1 "2020-07-27T11:39:24Z")

</div>

Mediasoup is currently used in the form of a NodeJS module. One of its design goal is listed as “Be a Node.js module in server side.”

However given that the core mediasoup SFU library is written in C++, would it be possible/feasible to extend support to other languages, like Elixir?

This would be truly great, considering that there’s nothing else which could compete against the simplicity of building a WebRTC SFU with mediasoup.

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [July 27, 2020, 12:04pm UTC](https://mediasoup.discourse.group/t/mediasoup-for-elixir/1487/2 "2020-07-27T12:04:44Z")

</div>

> [@d4mr](#):
>
> However given that the core mediasoup SFU library is written in C++, would it be possible/feasible to extend support to other languages, like Elixir?

Yes, it would be possible by replicating the Node layer into another language. Now, if the question is whether we’ll do it, the answer is “not for now” (we don’t have infinite time and need to prioritize things).

---

<div class="post-metadata">

**Author:** ![satoren](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/satoren/32/1249_2.png) [@satoren](https://mediasoup.discourse.group/u/satoren)\
**Post date:** [November 8, 2023, 8:33am UTC](https://mediasoup.discourse.group/t/mediasoup-for-elixir/1487/3 "2023-11-08T08:33:59Z")

</div>

I have published an elixir port using the Rust version.

> **[mediasoup\_elixir](https://hex.pm/packages/mediasoup_elixir)**
>
> Elixir wrapper for mediasoup

Not all API’s are ported, but most functions are available.  
The combination of erlang’s cluster feature and PipeTransport has the advantage of being easy to scale up.
