Set different frame capture interval for H.264 and RFX
and pass them to xorgxrdp. (cherry picked from commit c55694c51b570d84ad63bfb5dc7bdec75fee57da)
This commit is contained in:
@@ -255,6 +255,11 @@ struct xrdp_client_info
|
||||
|
||||
enum unicode_input_state unicode_input_support;
|
||||
enum xrdp_capture_code capture_code;
|
||||
|
||||
/* xorgxrdp: frame capture interval (milliseconds) */
|
||||
int rfx_frame_interval;
|
||||
int h264_frame_interval;
|
||||
int normal_frame_interval;
|
||||
};
|
||||
|
||||
enum xrdp_encoder_flags
|
||||
@@ -274,6 +279,6 @@ enum xrdp_encoder_flags
|
||||
|
||||
/* yyyymmdd of last incompatible change to xrdp_client_info */
|
||||
/* also used for changes to all the xrdp installed headers */
|
||||
#define CLIENT_INFO_CURRENT_VERSION 20240805
|
||||
#define CLIENT_INFO_CURRENT_VERSION 20241118
|
||||
|
||||
#endif
|
||||
|
||||
@@ -83,6 +83,11 @@
|
||||
#define MCS_SDRQ 25 /* Send Data Request */
|
||||
#define MCS_SDIN 26 /* Send Data Indication */
|
||||
|
||||
/* xorgxrdp: frame capture interval (milliseconds) */
|
||||
#define RFX_FRAME_INTERVAL 32
|
||||
#define H264_FRAME_INTERVAL 16
|
||||
#define NORMAL_FRAME_INTERVAL 40
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
* Constants come from other Microsoft products
|
||||
|
||||
Reference in New Issue
Block a user