修复转码时拉流代理无人观看无法移除的BUG, 修复根据请求IP返回流地址失败的BUG

This commit is contained in:
lin
2025-03-19 15:45:23 +08:00
parent 1e98f1df65
commit 06de25bb4d
6 changed files with 18 additions and 1155 deletions

View File

@@ -500,7 +500,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
public void removePushListItem(String app, String stream, String mediaServerId) {
String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream;
MediaInfo param = (MediaInfo)redisTemplate.opsForValue().get(key);
if (param != null && param.getMediaServer().getId().equalsIgnoreCase(mediaServerId)) {
if (param != null) {
redisTemplate.delete(key);
}
}