How is Connection Quality determined?
Last updated: August 13, 2025
Background
Within LiveKit, there are 3 values that represent connection quality:
Poor
Good
Excellent
Participants connected to LiveKit receive events from the LiveKit server whenever a participant's connection quality changes.
Details
The code for calculating the connection quality is here. The calculation for quality is made up of 3 components:
are all video layers sent
*jitter and RTT (round trip time) are disabled in calculatePacketScore