ZMQImagePuller: Fix republish socket direction
This commit is contained in:
@@ -10,7 +10,7 @@ ZMQImagePuller::ZMQImagePuller(ZMQContext &context, const std::string &repub_add
|
||||
zmq_recv_buffer.reserve(2*1024*1024); // Reasonable size 2 MiB
|
||||
|
||||
if (!repub_address.empty()) {
|
||||
repub_socket = std::make_unique<ZMQSocket>(context, ZMQSocketType::Pull);
|
||||
repub_socket = std::make_unique<ZMQSocket>(context, ZMQSocketType::Push);
|
||||
repub_socket->SendWaterMark(100);
|
||||
repub_socket->SendTimeout(std::chrono::milliseconds(100));
|
||||
repub_socket->Bind(repub_address);
|
||||
|
||||
Reference in New Issue
Block a user