9 releases

new 0.0.8 Nov 29, 2020
0.0.7 Nov 28, 2020
0.0.5 Oct 24, 2020
0.0.1 Sep 26, 2020
0.0.0 Aug 30, 2020

#241 in Network programming

Download history 8/week @ 2020-08-24 5/week @ 2020-08-31 2/week @ 2020-09-07 13/week @ 2020-09-21 10/week @ 2020-09-28 16/week @ 2020-10-05 8/week @ 2020-10-12 35/week @ 2020-10-19 10/week @ 2020-10-26 20/week @ 2020-11-02 9/week @ 2020-11-09 8/week @ 2020-11-16 33/week @ 2020-11-23

56 downloads per month

ISC license

405KB
10K SLoC

mediasoup v3

Website and Documentation

Support Forum

Design Goals

mediasoup and its client side libraries are designed to accomplish with the following goals:

  • Be a SFU (Selective Forwarding Unit).
  • Support both WebRTC and plain RTP input and output.
  • Be a Node.js module in server side.
  • Be a tiny JavaScript and C++ libraries in client side.
  • Be minimalist: just handle the media layer.
  • Be signaling agnostic: do not mandate any signaling protocol.
  • Be super low level API.
  • Support all existing WebRTC endpoints.
  • Enable integration with well known multimedia libraries/tools.

Architecture

Use Cases

mediasoup and its client side libraries provide a super low level API. They are intended to enable different use cases and scenarios, without any constraint or assumption. Some of these use cases are:

  • Group video chat applications.
  • One-to-many (or few-to-many) broadcasting applications in real-time.
  • RTP streaming.

Features

  • ECMAScript 6 low level API.
  • Multi-stream: multiple audio/video streams over a single ICE + DTLS transport.
  • IPv6 ready.
  • ICE / DTLS / RTP / RTCP over UDP and TCP.
  • Simulcast and SVC support.
  • Congestion control.
  • Sender and receiver bandwidth estimation with spatial/temporal layers distribution algorithm.
  • Data message exchange (via WebRTC DataChannels, SCTP over plain UDP, and direct termination in Node.js).
  • Extremely powerful (media worker subprocess coded in C++ on top of libuv).

Demo Online

Try it at v3demo.mediasoup.org (source code).

Authors

Sponsor

You can support mediasoup by sponsoring it. Thanks!

License

ISC

Dependencies

~6.5MB
~139K SLoC