PreflightResult
Results of a preflight connectivity test.
Properties
bandwidth
Bandwidth estimation (null if skipMediaTest).
connectivity
ICE/TURN connectivity.
connectivity.rttMs
RTT to media server in ms.
connectivity.stunReachable
Whether STUN servers are reachable.
connectivity.turnReachable
Whether TURN servers are reachable.
connectivity.type
‘direct’ = host/srflx worked, ‘relay’ = only TURN relay, ‘failed’ = nothing.
devices
Device test results.
devices.audioInput
Audio input portion of the preflight result.
devices.audioInput.device
Audio input device used for the test, or null if none was available. See MediaDeviceInfo.
devices.audioInput.working
Whether the audio input device produced a usable signal.
devices.audioOutput
Audio output portion of the preflight result.
devices.audioOutput.available
Whether an audio output device was available for the test.
devices.audioOutput.device
Audio output device used for the test, or null if none was available. See MediaDeviceInfo.
devices.videoInput
Video input portion of the preflight result.
devices.videoInput.device
Video input device used for the test, or null if none was available. See MediaDeviceInfo.
devices.videoInput.working
Whether the video input device produced a usable signal.
ok
Overall pass/fail.
signaling
Signaling server reachability.
signaling.reachable
Whether the signaling endpoint was reachable.
signaling.rttMs
Measured signaling round-trip time in milliseconds.
warnings
Human-readable warnings.