Thanks! And how does this go through the java websocket client, does it go 
again through the onMessage, because I can't seem to find it in the source code?








 >-------- Оригинално писмо --------

 >От: Michael Jumper [email protected]

 >Относно: Re: Update resolution after connection is established

 >До: [email protected]

 >Изпратено на: 23.11.2023 18:07


On 11/22/2023 1:32 PM, Nikolay Ganchev wrote:

> I have a custom apache guacamole-client implemented and a custom web 

> app. I set the resolution in the onConnect method, however I would like 

> to also update the resolution runtime, perhaps via the onMessage method, 

> or in any other way, is it possible?



Updates to the desired display resolution are communicated using the 

sendSize() function of Guacamole.Client:



 
https://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Client.html#sendSize
 



Calling that function sends a "size" instruction, which informs the 

server that the client's optimal screen size has changed:



 
https://guacamole.apache.org/doc/gug/protocol-reference.html#client-size-instruction
 



- Mike



---------------------------------------------------------------------

To unsubscribe, e-mail:  [email protected] 

For additional commands, e-mail:  [email protected] 



Reply via email to