network-quality-change
Prebuilt Custom Fires when the network quality assessment changes.Always
"network-quality-change".The ID of the call client instance that emitted this event.
Current network assessment:
'good', 'low', or 'bad'.Reasons contributing to a
'low' or 'bad' state. Possible values include 'sendPacketLoss' and 'recvPacketLoss'. Omittied if networkState is 'good'.The latest network stats bundle. Shape matches the return value of
getNetworkStats().Deprecated. Use
networkState instead.Deprecated. Use
networkState instead.network-connection
Prebuilt Custom Fires when a network connection is established or interrupted. Every call uses two connections simultaneously:signaling— carries call setup and management. If interrupted and not reconnected within ~20 seconds, the participant is ejected from the call.peer-to-peerorsfu— carries audio and video. A call uses one or the other, never both. All calls default to SFU topology, including 1:1 calls. See P2P vs SFU calls for details. Both reconnect automatically as long assignalingis alive.
Always
"network-connection".The ID of the call client instance that emitted this event.
The connection type:
'signaling', 'peer-to-peer', or 'sfu'.The connection event:
'connected' or 'interrupted'.Present for
peer-to-peer connections. The remote peer’s session_id.Present for
sfu connections. The SFU server ID — useful for debugging and support reports.cpu-load-change
Prebuilt Custom Fires when the CPU load state changes. WhencpuLoadState is 'high', consider lowering outgoing video quality via updateSendSettings(), requesting a lower simulcast layer via updateReceiveSettings(), or reducing video subscriptions in large calls.
Always
"cpu-load-change".The ID of the call client instance that emitted this event.
Current CPU load assessment:
'low' or 'high'.The reason for the current state:
'none' (load is low), 'encode' (video encoding), 'decode' (video decoding), or 'scheduleDuration' (Daily code not completing within its scheduled interval).test-completed
Prebuilt Custom Fires when a prejoin test completes.Daily Prebuilt runs
testCallQuality() automatically in its prejoin UI — you can listen for this event to read the results without calling it manually.Always
"test-completed".The ID of the call client instance that emitted this event.
Which test completed:
'call-quality', 'p2p-call-quality', 'network-connectivity', or 'websocket-connectivity'.The test results. Shape matches the return type of the corresponding test method — see
testCallQuality().