Serenada Diagnostics
Pre-flight diagnostics utility. Checks device capabilities and server connectivity without prompting for permissions.
Functions
Check whether a camera is available and authorized.
Check whether a microphone is available and authorized.
Check whether a network connection is available.
Check signaling server connectivity (WebSocket or SSE).
Check whether an audio output (speaker) is available.
Check TURN server reachability and measure latency.
Run all diagnostic checks and return a full report.
Callback-based variant of runAll. Results are delivered on the main thread.
Test server connectivity (room API, WebSocket, SSE, TURN).
Probe ICE connectivity (STUN/TURN) and return candidate details.
Probe ICE connectivity (STUN/TURN) and return candidate details.
Validate that a server host is reachable. Throws on failure.