This commit is contained in:
Baobhan Sith
2025-04-28 21:15:30 +08:00
parent 9aebb13c29
commit 8d9612977e
2 changed files with 3 additions and 1 deletions
@@ -116,6 +116,8 @@ const connectRdp = async () => { // Removed useInputValues parameter
// @ts-ignore
guacClient.value = new Guacamole.Client(tunnel);
// Add this line to enable keep-alive (send NOP every 3 seconds)
guacClient.value.keepAliveFrequency = 3000; // milliseconds
rdpDisplayRef.value.appendChild(guacClient.value.getDisplay().getElement());