Merge branch 'wvp-28181-2.0' into wvp-pro-record

This commit is contained in:
648540858
2022-03-03 16:55:20 +08:00
5 changed files with 17 additions and 7 deletions

View File

@@ -92,6 +92,7 @@ public class ZLMRunner implements CommandLineRunner {
// 获取所有的zlm 并开启主动连接
List<MediaServerItem> all = mediaServerService.getAllFromDatabase();
mediaServerService.updateVmServer(all);
if (all.size() == 0) {
all.add(mediaConfig.getMediaSerItem());
}