mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-18 06:02:21 +08:00
禁止通过setServerConfig接口修改ffmpeg.bin配置选项
This commit is contained in:
@@ -657,6 +657,10 @@ void installWebApi() {
|
||||
continue;
|
||||
#endif
|
||||
}
|
||||
if (pr.first == FFmpeg::kBin) {
|
||||
WarnL << "Configuration named " << FFmpeg::kBin << " is not allowed to be set by setServerConfig api.";
|
||||
continue;
|
||||
}
|
||||
if (ini[pr.first] == pr.second) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user