NSCodec Capability Set

The NSCodec Capability Set (section 2.2.1) structure is sent by both the client and server, and advertises properties of the NSCodec Bitmap Codec. This capability set is encapsulated in a Bitmap Codec ([MS-RDPBCGR] section structure, which is ultimately encapsulated in the Bitmap Codecs Capability Set ([MS-RDPBCGR] section, which is encapsulated in a server-to-client Demand Active PDU ([MS-RDPBCGR] section or client-to-server Confirm Active PDU ([MS-RDPBCGR] section

The sender of the NSCodec Capability Set MUST populate the fAllowDynamicFidelity, fAllowSubsampling, and colorLossLevel fields to advertise support for lossy bitmap compression (section, chroma subsampling (section, and the maximum supported color loss level (section The recipient of the NSCodec Capability Set MUST use the contents of the NSCodec Capability Set to initialize an NSCodec compressor so as to ensure that the peer protocol entity that receives compressed bitmap data will be able to perform decompression as outlined in section

If the data encapsulation is invalid or errors are encountered while processing the NSCodec Capability Set, the connection SHOULD be dropped.