添加心跳到期时验证zlm是否真的离线。

This commit is contained in:
648540858
2021-12-20 09:51:51 +08:00
parent 4418c62e5c
commit 22efd0f56c
3 changed files with 18 additions and 2 deletions

View File

@@ -145,6 +145,7 @@ public class PlayServiceImpl implements IPlayService {
MediaServerItem mediaInfo = mediaServerService.getOne(streamInfoForSuccess.getMediaServerId());
String streamUrl = streamInfoForSuccess.getFmp4();
// 请求截图
logger.info("[请求截图]: " + fileName);
zlmresTfulUtils.getSnap(mediaInfo, streamUrl, 15, 1, path, fileName);
}
}