feat: add device diagnostics for missing voice replies
Track microphone levels, short reads and PCM buffer drops. Report audio queue admission separately from TLS writes, expose server replies and ACKs before filtering, and capture per-round counters before timeouts. Add diagnostic regression coverage and support POSIX hosts in WSS tests.
This commit is contained in:
@@ -96,6 +96,9 @@ typedef struct _rws_socket_struct
|
||||
int command;
|
||||
|
||||
unsigned int next_message_id;
|
||||
/* Worker-owned transport counters; socket creation zero-initializes these. */
|
||||
unsigned int diag_tx_calls, diag_tx_bytes, diag_tx_failed;
|
||||
unsigned int diag_rx_calls, diag_rx_bytes;
|
||||
|
||||
rws_bool is_connected; // sock connected + handshake done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user