Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatbuffers #30

Open
long12310225 opened this issue Jun 3, 2024 · 4 comments
Open

flatbuffers #30

long12310225 opened this issue Jun 3, 2024 · 4 comments

Comments

@long12310225
Copy link

Do you have a plan to support flatbuffers? If so, when or in what version?

@jiyeyuran
Copy link
Owner

There are no plans to support flatbuffers. I am planning to rewrite mediasoup in pure golang.

@long12310225
Copy link
Author

But the new version of mediasoup uses flatbuffers, so how do you rewrite it in go to fit the official mediasoup demo? Do you provide Android, ios corresponding to your go version of the demo?

@cruizba
Copy link

cruizba commented Jul 8, 2024

Hi @jiyeyuran,

Reimplementing mediasoup in golang is certainly an interesting idea, but I'm uncertain about its potential impact on performance compared to the original C++ implementation. Mediasoup has been meticulously optimized for performance, with a focus on low memory allocation and CPU footprint. A reimplementation in Go might result in decreased performance.

Do you think reimplementing mediasoup would be more feasible than simply updating the library to use flatbuffers? 🤔

@cherishman2005
Copy link

cherishman2005 commented Oct 22, 2024

I found this project "https://github.com/byyam/mediasoup-go-worker" which is rewritten in golang, you can take a look. But I think it is better to use golang for control logic and c/c++ for stream forwarding(sfu) and processing, we need to consider upgrading and new function, and the cost.
@jiyeyuran @cruizba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants