diff options
| author | Luke Hoersten <[email protected]> | 2026-06-15 09:18:57 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-15 09:18:57 -0500 |
| commit | bba40948edccd4ac6c4a661c8f16c6469b212985 (patch) | |
| tree | f1a0ced9c01caeffdfab3e503946980bf857c9e1 /scrypted/diagnostic.ts | |
| parent | 2d79d1bcbfb971a70bc45541c3d2eb6dafe1e2ba (diff) | |
scrypted: distinguish backpressure vs source-limited stream rate
The single warning conflated two unrelated symptoms:
- HTTP/POST backpressure (drops accumulating because the firmware or
network can't keep up) — fix is to raise frame_interval_ms.
- Source-limited rate (ffmpeg's fps filter or the camera substream
produces fewer frames than requested) — raising the interval makes
this worse, not better.
Now: drops > 25% of target prints "backpressure" advice; otherwise
delivered < 60% of target prints "source-limited" with the correct
hint that the camera/filter is the limit, not the firmware. The
600ms-interval case where we get 1.5 fps delivered with zero drops
no longer prints the (wrong) "raise interval" suggestion.
Diffstat (limited to 'scrypted/diagnostic.ts')
0 files changed, 0 insertions, 0 deletions
