Mediasoup官方文档简明翻译

学习使用Mediasoup,最好的方式自然是先看官方文档,以下将对mediasoup官网文档做简要翻译。

 

https://mediasoup.org/documentation/overview/

概述:

SFU接收来自端点的音频流和视频流,然后将它们转发给其他每一个端。每个接收端可以选择其接收的流和spatial/temporal 层。相比混合器或者MCU,该设计具有更好的性能,更高的吞吐量和更少的延迟。它具有高度的可扩展性,并且由于它不会转码或混合媒体,因此所需资源少得多。

由于端点可以分别获取其他端点的媒体,因此它们可以具有个性化的布局,可选择要渲染的流以及如何显示它们。

 

设计目标

mediasoup 及其客户端库旨在实现以下目标:

  • 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.

 

用例

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.

 

posted @ 2020-02-15 22:20  kyun  阅读(2590)  评论(0编辑  收藏  举报