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:
Koichiro Iwao
2024-11-16 00:00:00 +09:00
parent b40ace381c
commit 5fb59a7c38
4 changed files with 40 additions and 1 deletions
+6 -1
View File
@@ -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
+5
View File
@@ -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