3.1.3 Initialization
The Bitmap Codecs Capability Set message ([MS-RDPBCGR] section 2.2.7.2.10) MUST be processed by the server, as specified in section 3.1.5.1, before RemoteFX encoding begins. This establishes the encoding properties that will be used by the server when sending the encoded data stream.
The Bitmap Codecs Capability Set is sent by the client, encapsulating the TS_RFX_CLNT_CAPS_CONTAINER (section 2.2.1.1). The server ultimately processes the encapsulated TS_RFX_CLNT_CAPS_CONTAINER (section 2.2.1.1) message as specified in section 3.1.5.1, picking a TS_RFX_ICAP (section 2.2.1.1.1.1.1) element. From that point on, the server uses the capability properties listed in that element to encode RemoteFX data streams.