libguac  1.0.0
Data Fields
guac_user_info Struct Reference

Information exposed by the remote client during the connection handshake which can be used by a client plugin. More...

Data Fields

int optimal_width
 The number of pixels the remote client requests for the display width. More...
 
int optimal_height
 The number of pixels the remote client requests for the display height. More...
 
const char ** audio_mimetypes
 NULL-terminated array of client-supported audio mimetypes. More...
 
const char ** video_mimetypes
 NULL-terminated array of client-supported video mimetypes. More...
 
const char ** image_mimetypes
 NULL-terminated array of client-supported image mimetypes. More...
 
int optimal_resolution
 The DPI of the physical remote display if configured for the optimal width/height combination described here. More...
 

Detailed Description

Information exposed by the remote client during the connection handshake which can be used by a client plugin.

Field Documentation

◆ audio_mimetypes

const char** guac_user_info::audio_mimetypes

NULL-terminated array of client-supported audio mimetypes.

If the client does not support audio at all, this will be NULL.

◆ image_mimetypes

const char** guac_user_info::image_mimetypes

NULL-terminated array of client-supported image mimetypes.

Though all supported image mimetypes will be listed here, it can be safely assumed that all clients will support at least "image/png" and "image/jpeg".

◆ optimal_height

int guac_user_info::optimal_height

The number of pixels the remote client requests for the display height.

This need not be honored by a client plugin implementation, but if the underlying protocol of the client plugin supports dynamic sizing of the screen, honoring the display size request is recommended.

◆ optimal_resolution

int guac_user_info::optimal_resolution

The DPI of the physical remote display if configured for the optimal width/height combination described here.

This need not be honored by a client plugin implementation, but if the underlying protocol of the client plugin supports dynamic sizing of the screen, honoring the stated resolution of the display size request is recommended.

◆ optimal_width

int guac_user_info::optimal_width

The number of pixels the remote client requests for the display width.

This need not be honored by a client plugin implementation, but if the underlying protocol of the client plugin supports dynamic sizing of the screen, honoring the display size request is recommended.

◆ video_mimetypes

const char** guac_user_info::video_mimetypes

NULL-terminated array of client-supported video mimetypes.

If the client does not support video at all, this will be NULL.


The documentation for this struct was generated from the following file: