From 40fc986e7bcc7e6890af1c74d53c57cbdd27d28b Mon Sep 17 00:00:00 2001 From: Simon Rasmussen Date: Fri, 7 Jul 2017 20:08:15 +0200 Subject: [PATCH] Fixed jitter issues --- src/ur/stream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ur/stream.cpp b/src/ur/stream.cpp index 05617c5..cdb20f2 100644 --- a/src/ur/stream.cpp +++ b/src/ur/stream.cpp @@ -23,6 +23,7 @@ bool URStream::read(uint8_t* buf, size_t buf_len, size_t &total) while(remainder > 0 && TCPSocket::read(buf_pos, remainder, read)) { + TCPSocket::setOptions(getSocketFD()); if (initial) { remainder = be32toh(*(reinterpret_cast(buf)));