去除多余代码

pull/1414/head
648540858 2024-04-11 16:58:03 +08:00
parent e222095636
commit ab20f76885
1 changed files with 0 additions and 3 deletions

View File

@ -100,9 +100,6 @@ public class MediaServerServiceImpl implements IMediaServerService {
logger.info("流变化:注册 app->{}, stream->{}", event.getApp(), event.getStream()); logger.info("流变化:注册 app->{}, stream->{}", event.getApp(), event.getStream());
addCount(event.getMediaServer().getId()); addCount(event.getMediaServer().getId());
String type = OriginType.values()[event.getMediaInfo().getOriginType()].getType(); String type = OriginType.values()[event.getMediaInfo().getOriginType()].getType();
if (event.getApp().equals("onvif")) {
type = "onvif";
}
redisCatchStorage.addStream(event.getMediaServer(), type, event.getApp(), event.getStream(), event.getMediaInfo()); redisCatchStorage.addStream(event.getMediaServer(), type, event.getApp(), event.getStream(), event.getMediaInfo());
} }
} }