PreflightResult

View as MarkdownOpen in Claude

Results of a preflight connectivity test.

Properties

bandwidth
{ downloadKbps: number; uploadKbps: number; } | null

Bandwidth estimation (null if skipMediaTest).

connectivity
objectRequired

ICE/TURN connectivity.

connectivity.rttMs
numberRequired

RTT to media server in ms.

connectivity.stunReachable
booleanRequired

Whether STUN servers are reachable.

connectivity.turnReachable
booleanRequired

Whether TURN servers are reachable.

connectivity.type
"failed" | "direct" | "relay"Required

‘direct’ = host/srflx worked, ‘relay’ = only TURN relay, ‘failed’ = nothing.

devices
objectRequired

Device test results.

devices.audioInput
objectRequired

Audio input portion of the preflight result.

devices.audioInput.device
MediaDeviceInfo | null

Audio input device used for the test, or null if none was available. See MediaDeviceInfo.

devices.audioInput.working
booleanRequired

Whether the audio input device produced a usable signal.

devices.audioOutput
objectRequired

Audio output portion of the preflight result.

devices.audioOutput.available
booleanRequired

Whether an audio output device was available for the test.

devices.audioOutput.device
MediaDeviceInfo | null

Audio output device used for the test, or null if none was available. See MediaDeviceInfo.

devices.videoInput
objectRequired

Video input portion of the preflight result.

devices.videoInput.device
MediaDeviceInfo | null

Video input device used for the test, or null if none was available. See MediaDeviceInfo.

devices.videoInput.working
booleanRequired

Whether the video input device produced a usable signal.

ok
booleanRequired

Overall pass/fail.

signaling
objectRequired

Signaling server reachability.

signaling.reachable
booleanRequired

Whether the signaling endpoint was reachable.

signaling.rttMs
numberRequired

Measured signaling round-trip time in milliseconds.

warnings
readonly string[]Required

Human-readable warnings.