On February 13, 2026 8:38:29 AM PST, Palaash Jain <[email protected]> wrote: >Understood, thanks Nick for your reply. Will look through the code once. > >Just wanted to clarify once, >client->join_handler is invoked once for a connection, for example, when a >new rdp connection starts >then we add users to that client that are joining that connection using >user->join_handler >
No, there is no user join_handler. The user can't exist to have such a handler until they've joined. The client join_handler is invoked for every user that joins, same for the leave_handler (see the docs). It's better to use the join_pending_handler to avoid having to spend unnecessary CPU encoding the same display state repeatedly for each new user. >Once all users leave (user->leave_handler) from that connection/client, >client->leave_handler is invoked and that finally terminates the connection. >Is that correct? No, it's always per user. See the documentation: https://guacamole.apache.org/doc/libguac/structguac__client.html - Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
