|
@@ -42,7 +42,7 @@ public class ZLMRunner implements CommandLineRunner {
|
|
|
@Override
|
|
@Override
|
|
|
public void run(String... strings) throws Exception {
|
|
public void run(String... strings) throws Exception {
|
|
|
// 清楚redis缓存的在线zlm信息
|
|
// 清楚redis缓存的在线zlm信息
|
|
|
- mediaServerService.clearMediaServerForOnline();
|
|
|
|
|
|
|
+ /*mediaServerService.clearMediaServerForOnline();
|
|
|
|
|
|
|
|
// 订阅 zlm启动事件, 新的zlm也会从这里进入系统
|
|
// 订阅 zlm启动事件, 新的zlm也会从这里进入系统
|
|
|
hookSubscribe.addSubscribe(ZLMHttpHookSubscribe.HookType.on_server_started,null,
|
|
hookSubscribe.addSubscribe(ZLMHttpHookSubscribe.HookType.on_server_started,null,
|
|
@@ -90,7 +90,7 @@ public class ZLMRunner implements CommandLineRunner {
|
|
|
}
|
|
}
|
|
|
// TODO 清理数据库中与redis不匹配的zlm
|
|
// TODO 清理数据库中与redis不匹配的zlm
|
|
|
}
|
|
}
|
|
|
- }, 60 * 1000 * 2);
|
|
|
|
|
|
|
+ }, 60 * 1000 * 2);*/
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public ZLMServerConfig getMediaServerConfig(MediaServerItem mediaServerItem) {
|
|
public ZLMServerConfig getMediaServerConfig(MediaServerItem mediaServerItem) {
|