Refactor RamBuffer

This commit is contained in:
2020-09-04 12:31:57 +02:00
parent 15302c8597
commit 4a031d6e62
3 changed files with 62 additions and 18 deletions
+2
View File
@@ -40,6 +40,8 @@ namespace buffer_config {
const int BUFFER_ZMQ_SNDHWM = 100;
// IPC address of the live stream.
const std::string BUFFER_LIVE_IPC_URL = "ipc:///tmp/sf-live-";
// Number of image slots in ram buffer - 10 seconds should be enough
const int RAM_BUFFER_N_SLOTS = 100 * 10;
}
#endif //BUFFERCONFIG_HPP