Signaling between WebRCT client and SFU

511 Views Asked by At

If a client A, wants to connect to 2 other end points B and C. How does A initiates call with B and C using SFU. I mean, how will A communicate to SFU that it needs to connect to B and C? How is ICE working working in this setup?

1

There are 1 best solutions below

3
lnogueir On

Clients typically interact with SFUs in a publish/subscribe manner, so the signaling doesn't happen directly between them.

The workflow is usually as follows: client A publishes a stream to the SFU, then other clients, like B and C, may subscribe to A's feed. In either case (publishing or subscribing), the signaling is happening between the client and the SFU WebRTC agent. And, of course, since the client signals with the SFU, ICE candidates are exchanged with the SFU, not between themselves.