aleitner opened a new pull request, #610:
URL: https://github.com/apache/guacamole-server/pull/610

   This PR implements the server-side protocol support for Web USB device 
redirection, complementing the [client-side 
PR](https://github.com/apache/guacamole-client/pull/1103). This provides the 
infrastructure for Guacamole protocol plugins (RDP, VNC, etc.) to handle USB 
device redirection from browser clients.
   
   ## Data Flow
   
   1. Server receives `usbconnect` with device descriptors and 
interface/endpoint data
   2. Protocol plugin's `usbconnect_handler` is invoked to establish redirection
   3. `usbdata` messages flow between client device and server handler
   4. Either side can initiate disconnection via `usbdisconnect`
   
   ### New Protocol Instructions
   - **Server → Client**: Added `usbdata` and `usbdisconnect` instructions for 
sending data to USB devices and requesting disconnection
   - **Client → Server**: Added handlers for receiving `usbconnect`, `usbdata`, 
and `usbdisconnect` instructions
   
   ### Handlers
   - `guac_user_usbconnect_handler`: Processes USB device connections with full 
device metadata (vendor/product IDs, interfaces, endpoints)
   - `guac_user_usbdata_handler`: Handles USB data transfer from the client 
with USB endpoint and transfer type information. 
   - `guac_user_usbdisconnect_handler`: Manages USB device disconnection events.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to