[fix] fix settings error when load from cache file

This commit is contained in:
dijunkun
2024-08-09 10:56:16 +08:00
parent 43b36eb893
commit 0ea8916426
5 changed files with 29 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ class ConfigCenter {
// Default value should be same with parameters in localization.h
LANGUAGE language_ = LANGUAGE::CHINESE;
VIDEO_QUALITY video_quality_ = VIDEO_QUALITY::MEDIUM;
VIDEO_ENCODE_FORMAT video_encode_format_ = VIDEO_ENCODE_FORMAT::H264;
VIDEO_ENCODE_FORMAT video_encode_format_ = VIDEO_ENCODE_FORMAT::AV1;
bool hardware_video_codec_ = false;
};