fix.修复socket转发截图反代失效的问题,并取消gzip压缩

This commit is contained in:
MistEO
2022-06-05 02:28:38 +08:00
parent 6b566cc7cb
commit 692a67d16e
5 changed files with 185 additions and 156 deletions

View File

@@ -43,9 +43,8 @@ bool asst::GeneralConfiger::parse(const json::value& json)
adb.display = cfg_json.at("display").as_string();
adb.display_format = cfg_json.at("displayFormat").as_string();
adb.screencap_raw_with_gzip = cfg_json.at("screencapRawWithGzip").as_string();
adb.screencap_raw_with_gzip_and_nc = cfg_json.at("screencapRawWithGzipAndNC").as_string();
adb.screencap_raw_by_nc = cfg_json.at("screencapRawByNC").as_string();
adb.nc_port = static_cast<unsigned short>(cfg_json.at("ncPort").as_integer());
adb.nc_port_reverse = cfg_json.at("ncPortReverse").as_string();
adb.screencap_encode = cfg_json.at("screencapEncode").as_string();
adb.release = cfg_json.at("release").as_string();
//adb.pullscreen = cfg_json.at("pullscreen").as_string();