You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`nominal`| Smoothed encode latency is comfortably below the active frame budget. |
111
+
|`strained`| Smoothed latency is near the frame budget or several frames are close to budget. |
112
+
|`overloaded`| Smoothed latency exceeds the budget or several frames in a row took longer than budget. |
113
+
114
+
This is an inferred pressure signal rather than a private macOS hardware queue
115
+
counter. It is useful for deciding when to lower stream resolution/FPS or switch
116
+
from hardware to software encoding.
117
+
89
118
### Client stream stats
90
119
91
120
`client_streams` is a rolling buffer of the most recent reports a client posted to `POST /api/client-stream-stats`. The server keeps the last 48 entries per `(clientId, kind)` pair.
Copy file name to clipboardExpand all lines: docs/api/rest.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,9 @@ to mirror the daemon's WebRTC ICE configuration.
36
36
37
37
### `GET /api/metrics`
38
38
39
-
Returns server-side video stats and a rolling buffer of client-side stats. See [Video Pipeline](/guide/video#tuning-with-metrics) for an annotated example.
39
+
Returns server-side video stats, active encoder overload states, and a rolling
40
+
buffer of client-side stats. See [Video Pipeline](/guide/video#tuning-with-metrics)
41
+
for an annotated example.
40
42
41
43
### `GET /api/client-stream-stats`
42
44
@@ -88,10 +90,11 @@ quality.
88
90
89
91
`videoCodec` accepts `hardware` or `software` from the UI, and the API also
90
92
accepts `auto`. `fps` is clamped to the local stream range. Browser viewers show
91
-
three profiles: `quality`, `balanced`, and `economy`. The API still accepts the
92
-
legacy `fast`, `smooth`, and `ci-software` profiles for CLI/provider
93
-
compatibility. When `profile` is provided, its resolution preset is applied;
94
-
send `maxEdge` without `profile` for a custom resolution cap.
0 commit comments