Jump to content
  • 0

Detailed Guide on SFU setup for ANT


Ben Bowler
 Share

Question

Afternoon,

I've seen lots of blog posts that mention SFU but I can't find any detailed documentation on how to set it up in the client app and the AMS side.

Is there such a document?

The questions I have are:

1. What changes do I need to make to the WebRTCAdaptor config to support SFU mode when the host and guests (our application is a video conferencing style app) join the room:

return new WebRTCAdaptor( {
websocket_url: url,
mediaConstraints: mediaConstraints,
peerconnection_config: pc_config,
sdp_constraints: sdpConstraints,
...

2. What changes (if any) do I have to make to the AMS configuration?

I have a proof of concept working in star topology.

Happy to provide more detail directly, we have an enterprise licence.

Best.

Ben
Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

Hi Ben,

Yes, Ant Media Server works as SFU. You don't need to change anything at all. If you are not using adaptive bitrate streaming, you are doing SFU by default.
Basically guests should simply broadcast to AMS, and other guests should consume it. You predicted this one very well!

Best Regards,
Enes.

Link to comment
Share on other sites

  • 0

Thanks Enes, I appreciate your confirmation of the approach. I have a prototype working with each guest publishing to an application then communicating over a single dataChannel to inform others there is a new stream to play and it is working nicely.

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...