修复转码时拉流代理无人观看无法移除的BUG, 修复根据请求IP返回流地址失败的BUG
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user