getNetworkTopology()
Prebuilt
Custom
Returns the WebRTC connection topology currently in use for the call. All calls default to SFU topology, including 1:1 calls.
Return value
Returns aPromise<{ topology: 'sfu' | 'peer' | 'none', error?: string }>:
The current connection topology:
'sfu'— media is routed through Daily’s Selective Forwarding Units'peer'— media is sent directly between participants'none'— topology has not yet been determined or is not applicable (before WebRTC connections have been established or after leaving the call)
Present only if an error occurred while determining the topology.