High encode time
outboundvideocpu
Encoding video frames is taking too long.
Description
WebRTC measures the time it takes to encode video frames. When the encoding 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 encode time is calculated as 1,000 milliseconds divided by the number of framesEncoded/s
- If the average number of frames encoded per second is 30, then the available encode time will be 1,000/30 = 33.3 milliseconds and the threshold we will have for this observation will be 12 milliseconds (11.1 rounded up)