mediasoup-go v2 Released!

mediasoup-go v2 is out! It brings major improvements in protocol support, performance, and developer experience:

  1. FlatBuffers protocol support — Now compatible with mediasoup v3.14.0+.

  2. Context-aware APIs — Added context support for better traceability and logging.

  3. Type-safe callbacks — Callback functions are now strictly typed for safer and clearer code.

  4. Optimized message handling — Improved internal messaging performance, controlled goroutine usage, and ensured that callbacks for the same object are not processed concurrently.

  5. mediasoup-go-demo updated — The demo has also been upgraded to v2 to showcase the latest features.

About integration with mediasoup-worker

Just like the Node.js version, mediasoup-go communicates with the mediasoup-worker via OS-level pipes. However, since Go’s module system doesn’t support postinstall scripts like Node.js does, the Go wrapper for mediasoup-worker is released as a separate module and is not included in the main mediasoup repository.

mediasoup-go aims to be as compatible as possible with the official mediasoup protocol. I hope that the FlatBuffers-based protocol will remain stable and backward-compatible moving forward to ensure smooth interoperability.

1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.