getNetworkTopology

getNetworkTopology()

Compatibility:
Prebuilt
Custom

Returns a Promise that resolves to indicate whether a call is happening over a "peer" or "sfu" connection type. Upon joining, before the signaling connection is established and the topology is being determined, getNetworkTopology() returns "none".

Example response object: