Updated without Vector
This commit is contained in:
@@ -82,9 +82,13 @@ private:
|
||||
BasicTCPSocket *activeClient;
|
||||
|
||||
// Streamer assembly buffer
|
||||
// STREAMER_MTU: target packet size for batching small signals (network-friendly).
|
||||
// STREAMER_BUFFER_SIZE: maximum UDP datagram payload; large single-signal samples
|
||||
// can exceed STREAMER_MTU and are sent as their own datagram up to this limit.
|
||||
static const uint32 STREAMER_MTU = 1400u;
|
||||
static const uint32 STREAMER_BUFFER_SIZE = 4096u;
|
||||
uint8 streamerPacketBuffer[STREAMER_BUFFER_SIZE];
|
||||
static const uint32 STREAMER_BUFFER_SIZE = 65535u;
|
||||
uint8 streamerPacketBuffer[STREAMER_BUFFER_SIZE]; // assembled outgoing packet
|
||||
uint8 streamerSampleBuffer[STREAMER_BUFFER_SIZE]; // staging for one popped sample
|
||||
uint32 streamerPacketOffset;
|
||||
uint32 streamerSequenceNumber;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user