Previewsocket


LXfPREVIEWMSG_REQ

These codes are used to identify any data sent to or from the preview socket, and are used to prefix the packet.

For the most part, the remote host (Remote) sends request messages to the preview server (Preview). Preivew then sends back acknowledgements or errors. Every message sent by Remote will have a matching response from Preview. Unless otherwise specified, requests apply to protocol 0. Higher protocol numbers tend to support all of the previous protocol’s features as well as adding new ones. Messages that require a specific protocol or greater are mentioned in the comments. Note that sending a packet that is not supported by a specific protocol version will result in an error, usually followed by a disconnect (as there is no way to know how long the unrecognized packet is so that it can be skipped).

  • LXfPREVIEWMSG_ACK

  • LXiPREVIEWMSG_ACK_ERROR

  • LXiPREVIEWMSG_REQ_SET_PROTOCOL

  • LXiPREVIEWMSG_ACK_PROTOCOL_SET

  • LXiPREVIEWMSG_REQ_SET_RES

  • LXiPREVIEWMSG_ACK_RES_SET

  • LXiPREVIEWMSG_REQ_SET_FORMAT

  • LXiPREVIEWMSG_ACK_FORMAT_SET

  • LXiPREVIEWMSG_REQ_SET_STEREO

  • LXiPREVIEWMSG_ACK_STEREO_SET

  • LXiPREVIEWMSG_REQ_SET_SAMPLES

  • LXiPREVIEWMSG_ACK_SAMPLES_SET

  • LXiPREVIEWMSG_REQ_SET_DRAFT

  • LXiPREVIEWMSG_ACK_DRAFT_SET

  • LXiPREVIEWMSG_REQ_SET_FINAL

  • LXiPREVIEWMSG_ACK_FINAL_SET

  • LXiPREVIEWMSG_REQ_SET_EXTENDED

  • LXiPREVIEWMSG_ACK_EXTENDED_SET

  • LXiPREVIEWMSG_REQ_SET_EFFECT

  • LXiPREVIEWMSG_ACK_EFFECT_SET

  • LXiPREVIEWMSG_REQ_SET_MOUSEPOS

  • LXiPREVIEWMSG_ACK_MOUSEPOS_SET

  • LXiPREVIEWMSG_REQ_SET_CAMERA

  • LXiPREVIEWMSG_ACK_CAMERA_SET

  • LXiPREVIEWMSG_REQ_SET_COMPRESS

  • LXiPREVIEWMSG_ACK_COMPRESS_SET

  • LXiPREVIEWMSG_COMPRESS_NONE

  • LXiPREVIEWMSG_COMPRESS_PNG

  • LXiPREVIEWMSG_REQ_SEND_FULL_FRAME

  • LXiPREVIEWMSG_ACK_SEND_FULL_FRAME

  • LXiPREVIEWMSG_PREVIEW_UNAVAILABLE

  • LXiPREVIEWMSG_PREVIEW_RGBAFP

  • LXiPREVIEWMSG_PREVIEW_COMPLETE

  • LXiPREVIEWMSG_PREVIEW_COMPRESSED

  • LXiPREVIEWMSG_ACK_SEND_FULL_FRAME_RGB24

  • LXiPREVIEWMSG_ACK_SEND_FULL_FRAME_RGBAFP

  • LXiPREVIEWMSG_ACK_FULL_FRAME_UNAVAILABLE

  • LXiPREVIEWMSG_ACK_FULL_FRAME_DONE

  • LXiPREVIEWMSG_REQ_GET_ID

  • LXiPREVIEWMSG_ACK_ID_GET

  • LXiPREVIEWMSG_REQ_GET_PROGRESS