|
| bool | valid = false |
| | At least one frame has been measured.
|
| double | encode_ms = 0.0 |
| | Avg time spent in the encoder per frame.
|
| double | capture_to_encode_ms = 0.0 |
| | Avg latency from capture to encode start.
|
| double | fps = 0.0 |
| | Measured frames encoded per second.
|
| double | bitrate_kbps = 0.0 |
| | Measured output bitrate (kilobits/s).
|
| uint64_t | frames_encoded = 0 |
| | Total frames encoded this session.
|
| uint64_t | frames_dropped = 0 |
| | Total frames dropped (encoder errors/timeouts).
|
| int | width = 0 |
| | Active stream width in pixels (0 until a session sets it).
|
| int | height = 0 |
| | Active stream height in pixels (0 until a session sets it).
|
Live per-frame pipeline metrics, for diagnostics/metrics.
Rolling averages over a short window so users (and the web UI) can see where time goes instead of only an overall FPS number. Updated from the encode loop; read by the diagnostics endpoint. Zero/valid=false until frames flow.
Definition at line 514 of file video.h.