Add buffering to replay

This commit is contained in:
2020-05-19 09:28:50 +02:00
parent 5483fe0ea2
commit 78c3ae0262
3 changed files with 78 additions and 38 deletions
+2
View File
@@ -32,6 +32,8 @@ namespace core_buffer {
const std::string REPLAY_STREAM_IPC_URL = "ipc:///tmp/sf-replay-";
const size_t REPLAY_READ_BUFFER_SIZE = 100;
const size_t BUFFER_UDP_N_RECV_MSG = 64;
// Size of UDP recv buffer