avnc icon indicating copy to clipboard operation
avnc copied to clipboard

Long connection and PC inactivity leads to disconnection

Open kyrtion opened this issue 1 year ago • 4 comments

  1. OS: Windows 10 Pro - TightVNC | AVNC - Android

  2. Any Presentation without animation 1 slide in Microsoft Office, show it on screen as timetable. Late 2-3 hours will pass employees want to correct e.g. one employee will not be at work before one hour. Exit the presentation via VNC (PC), correct something and what we see in Android VNC: the frame has finally stopped.

Most likely: the frame is the same all the time, so decided to stop until there are different frames.

Log AVNC: https://pastebin.com/szJskSvN

kyrtion avatar Nov 18 '24 05:11 kyrtion

Found issies: #105. Testing

UPD: Test is failed.

  1. Run PC and show presentation 1 slide, for example timetable staffs.
  2. Starting AVNC (latest) and connect only view to PC (TightVNC 2.8.59).
  3. Wait and dont touch devices (mouse, keyboard and etc).
  4. Late 1-2 hour and touch mouse, keyboard in PC. Checking frame in AVNC - frame really frozzen

Updated TightVNC to 2.8.89 and try testing...

UPD2: Test v2 is again failed. frame are frozzen Android used with Ethernet Cabel (device - tv). and second android - wi-fi. all are frozzen frame. only imputs workd

UPD3: Maybe problem is connect network? If connected to VNC, maybe work with lags

kyrtion avatar Nov 19 '24 01:11 kyrtion

Thanks for all the tests you have done. As you have already found out, this is a known issue. I have been trying to fix this for a long time without much success. This bug is hard to reproduce, and I am still not able to pin down the root cause.

Can you please try disabling battery optimizations for AVNC, and see if that fixes the issue?

I plan to add a foreground service to AVNC (just like media players), which would hopefully avoid this issue in future.

gujjwal00 avatar Nov 19 '24 12:11 gujjwal00

Can you please try disabling battery optimizations for AVNC, and see if that fixes the issue?

I dont disabled battery optimization. When i have be time for tests, try and again test, ty for advices!

kyrtion avatar Nov 19 '24 13:11 kyrtion

I not checked battery optimization in app's. I found how to fix: set small circle with infinity animation in slide presentation (ex: green on-line), or gif for holidays/works. Then app while update frame and not locked frame +-2 days

kyrtion avatar Nov 26 '24 08:11 kyrtion