最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - SFU (Selective Forwarding Unit) with WebRTC - Stack Overflow

programmeradmin1浏览0评论

I am creating a group video call application using WebRTC. Currently I am using MESH architecture. Creating peer connection as below -

var peer_connection = new RTCPeerConnection(
    {"iceServers": ICE_SERVERS},
    {"optional": [{"DtlsSrtpKeyAgreement": true}]}
);

I want to use SFU with WebRTC. Can anyone please tell how to do same or share any documentation regarding same. What changes would be required in code for creating SFU based connection?

I am creating a group video call application using WebRTC. Currently I am using MESH architecture. Creating peer connection as below -

var peer_connection = new RTCPeerConnection(
    {"iceServers": ICE_SERVERS},
    {"optional": [{"DtlsSrtpKeyAgreement": true}]}
);

I want to use SFU with WebRTC. Can anyone please tell how to do same or share any documentation regarding same. What changes would be required in code for creating SFU based connection?

Share Improve this question asked Jun 8, 2020 at 14:00 InderpalInderpal 111 silver badge2 bronze badges 1
  • If the answer solved your problem you can mark it as solved – Dirk V Commented Jun 13, 2020 at 10:42
Add a ment  | 

1 Answer 1

Reset to default 5

An SFU is very different. It passes all the data through a central server which redirects them to every consumer. Here is an example project where a room based SFU is implemented using mediasoup

发布评论

评论列表(0)

  1. 暂无评论