zlm假离线恢复redis心跳信息
This commit is contained in:
parent
61ec292796
commit
76c17c6d30
@ -63,6 +63,9 @@ public class ZLMKeepliveTimeoutListener extends KeyExpirationEventMessageListene
|
||||
JSONObject mediaServerConfig = zlmresTfulUtils.getMediaServerConfig(mediaServerItem);
|
||||
if (mediaServerConfig == null) {
|
||||
publisher.zlmOfflineEventPublish(mediaServerId);
|
||||
}else {
|
||||
// 添加zlm信息
|
||||
mediaServerService.updateMediaServerKeepalive(mediaServerId, mediaServerConfig);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -76,5 +76,5 @@ public interface IMediaServerService {
|
||||
|
||||
MediaServerItem getDefaultMediaServer();
|
||||
|
||||
void updateMediaServerKeepalive(String zlmServerConfig, JSONObject data);
|
||||
void updateMediaServerKeepalive(String mediaServerId, JSONObject data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user