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
1 Answer
Reset to default 5An 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