Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
StreamBroadcaster::SendStats Struct Reference

How long frame sends block the httpd task (every /stream send runs on it, and so does /commands). More...

#include <stream_broadcaster.h>

Public Attributes

uint64_t total_us = 0
 time spent inside sends, since boot
 
uint32_t slow = 0
 sends that took at least kSlowSendUs
 
uint32_t failed = 0
 sends that returned an error (the viewer is dropped)
 
uint32_t max_us = 0
 longest send since the previous call
 

Detailed Description

How long frame sends block the httpd task (every /stream send runs on it, and so does /commands).

A send returns once the frame is in the socket's TCP send buffer; when the buffer is full it waits for ACKs, up to send_wait_timeout. Counters are since boot, except max_us, which is the longest send since the last take_send_stats() call (the stats line takes it every 5 s).


The documentation for this struct was generated from the following file: