去除多余代码
parent
e222095636
commit
ab20f76885
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue