Mercurial > hg > Applications > TreeVNC
changeset 624:15deaf7c005b
fix RFBproto
author | ikki |
---|---|
date | Mon, 09 Mar 2020 16:42:14 +0900 |
parents | 120a31960494 |
children | 4d141e0b73cc |
files | src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Fri Mar 06 18:58:08 2020 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Mon Mar 09 16:42:14 2020 +0900 @@ -698,6 +698,8 @@ // ZRLEE is already compressed if (rect.getEncodingType() == EncodingType.ZRLEE) { + if (viewer.getUseMulticast()) + return header; if (ReceiverTask.multiasting) { System.out.println("multicasting "); ReceiverTask.multiasting = false; @@ -714,7 +716,6 @@ bufs.add(b); } multicastqueue.put(bufs); - return header; } // It may be compressed. We can inflate here to avoid repeating clients