High decode time
inboundvideocpu
Decoding video frames is taking too long.
Description
WebRTC measures the time it takes to decode video frames. When the decoding time is too high, it indicates an unbalanced system where the CPU might be over taxed.
What do we do here?
When we notice that it takes on average more than ¼ of the time available to encode video frames, we mark it.
Notes
- The available decode time is calculated as 1,000 milliseconds divided by the number of framesDecoded/s
- If the average number of frames decoded per second is 30, then the available decode time will be 1,000/30 = 33.3 milliseconds and the threshold we will have for this observation will be 9 milliseconds (8.3 rounded up)