优化,以及增加视频编码选择

This commit is contained in:
jianzhichu
2026-01-24 21:50:37 +08:00
parent e92e290a4e
commit b63621593b
11 changed files with 93 additions and 38 deletions
+3 -1
View File
@@ -33,6 +33,7 @@ namespace dy.net.service
}
conf.IsFirstRunning = true;//标记为程序刚启动第一次运行
conf.AutoDistinct = true;
conf.VideoEncoder = 264;
sqlSugarClient.Updateable(conf).ExecuteCommand();
//兼容旧版本
return conf;
@@ -59,7 +60,8 @@ namespace dy.net.service
OnlySyncNew = true,
DownDynamicVideo = false,
KeepDynamicVideo = false,
MegDynamicVideo = true
MegDynamicVideo = true,
VideoEncoder = 264
};
sqlSugarClient.Insertable(config).ExecuteCommand();
return config;