libguac  0.9.10-incubating
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

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.

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".

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.

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.

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.

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: