Remove live stream of pulse_ids

This commit is contained in:
2020-09-29 09:27:26 +02:00
parent 0f478c87aa
commit 1790544a35
+4 -4
View File
@@ -60,7 +60,7 @@ ZmqLiveSender::ZmqLiveSender(
}
}
{
if (false) {
socket_pulse_ = zmq_socket(ctx, ZMQ_PUB);
if (zmq_bind(socket_pulse_, config.pulse_address.c_str()) != 0) {
@@ -121,9 +121,9 @@ void ZmqLiveSender::send(const ModuleFrameBuffer *meta, const char *data)
}
}
if(zmq_send(socket_pulse_, &pulse_id, sizeof(pulse_id), 0) == -1) {
throw runtime_error(zmq_strerror(errno));
}
// if(zmq_send(socket_pulse_, &pulse_id, sizeof(pulse_id), 0) == -1) {
// throw runtime_error(zmq_strerror(errno));
// }
// TODO: Here we need to send to streamvis and live analysis metadata(probably need to operate still on them) and data(not every frame)