|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Audio packet for async network transmission. More...
#include <lib/network/tcp/client.h>
Data Fields | |
| uint8_t | data [4096] |
| size_t | size |
| uint16_t | frame_sizes [48] |
| int | frame_count |
Audio packet for async network transmission.
Queued by audio capture thread and sent by audio sender thread to decouple audio processing from network I/O blocking.
Definition at line 72 of file lib/network/tcp/client.h.
| uint8_t tcp_client_audio_packet_t::data[4096] |
Opus-encoded audio data
Definition at line 73 of file lib/network/tcp/client.h.
| int tcp_client_audio_packet_t::frame_count |
Number of frames in packet
Definition at line 76 of file lib/network/tcp/client.h.
| uint16_t tcp_client_audio_packet_t::frame_sizes[48] |
Individual frame sizes for Opus batching
Definition at line 75 of file lib/network/tcp/client.h.
| size_t tcp_client_audio_packet_t::size |
Size of encoded data
Definition at line 74 of file lib/network/tcp/client.h.