v0.5: WebRTC unified stats endpoint GET /api/v3/webrtc/stats #24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The existing admin endpoints expose per-stream peer lists. There is no single JSON endpoint that gives an operator a quick health snapshot: active streams, total subscribers, active publishers, UDP ports in use.
Acceptance criteria
GET /api/v3/webrtc/statsto the WHEP handler'sRegister()(or a new AdminHandler)WHIPHandler.PublisherCount()— atomic read of active publisher countWHIPHandlerreference intoHandlerso the stats handler can pull both counts