Add new parameter to grab many frames at once

This commit is contained in:
2020-05-12 09:16:55 +02:00
parent 462593627e
commit 79581f95e4
+2
View File
@@ -34,6 +34,8 @@ namespace core_buffer {
// Time to sleep before retrying to read the queue.
const size_t BUFFER_QUEUE_RETRY_MS = 5;
const size_t BUFFER_UDP_N_RECV_MSG = 128;
// Size of UDP recv buffer
const int BUFFER_UDP_RCVBUF_N_SLOTS = 10;
// +1 for packet headers.