Set a compression level to better optimize the latency of the stream by reducing the bytes sent (#656)

This commit is contained in:
Chris Gerth
2022-12-27 14:55:43 -06:00
committed by GitHub
parent 2ebc27aa3b
commit cf1a45d35b

View File

@@ -119,6 +119,7 @@ public class MJPGFrameConsumer {
this.mjpegServer = new MjpegServer("serve_" + cvSource.getName(), port);
mjpegServer.setSource(cvSource);
mjpegServer.setCompression(75);
listener =
new VideoListener(