add ClientConfig.displayResolution and ClientConfig.encodingResolution