chore: changed socket option to set HWM to 3 (max 3 packets in queue

This commit is contained in:
Storm
2026-01-29 12:02:28 +01:00
parent 891ebf5e3f
commit 4a2cace1cf

View File

@@ -21,7 +21,7 @@ class VideoSender(SocketBase):
"""
def __init__(self, zmq_context, port=settings.agent_settings.video_sender_port):
super(VideoSender, self).__init__("video")
self.create_socket(zmq_context, zmq.PUB, port, [(zmq.CONFLATE,1)])
self.create_socket(zmq_context, zmq.PUB, port, [(zmq.SNDHWM,3)])
def start_video_rcv(self):
"""