Make IPC address a parameter in buffer config

This commit is contained in:
2020-05-11 12:34:30 +02:00
parent 67e59c8360
commit fada8a7ec6
5 changed files with 8 additions and 10 deletions
+1 -2
View File
@@ -33,8 +33,7 @@ int main (int argc, char *argv[]) {
int source_id = atoi(argv[4]);
stringstream ipc_stream;
// TODO: Move this into config.
ipc_stream << "ipc:///tmp/sf-live-" << source_id;
ipc_stream << BUFFER_LIVE_IPC_URL << source_id;
const auto ipc_address = ipc_stream.str();
auto ctx = zmq_ctx_new();