|
|
@ -57,7 +57,7 @@ public class IvsStreamController { |
|
|
ivsVideoRtspView = new IvsVideoRtspView(); |
|
|
ivsVideoRtspView = new IvsVideoRtspView(); |
|
|
ivsVideoRtspView.setRtspURL("rtsp://admin:htjc2018@192.168.1.134:554/cam/realmonitor?channel=3&subtype=0"); |
|
|
ivsVideoRtspView.setRtspURL("rtsp://admin:htjc2018@192.168.1.134:554/cam/realmonitor?channel=3&subtype=0"); |
|
|
} else { |
|
|
} else { |
|
|
String rtspUrl = (String) this.redisService.redisTemplate.opsForValue().get("sys_config:rtsp_" + ivsStreamStartVo.getSerial()); |
|
|
|
|
|
|
|
|
String rtspUrl = (String) this.redisService.redisTemplate.opsForValue().get("sys_config:RTSP_" + ivsStreamStartVo.getCameraCode()); |
|
|
if (StringUtils.isNotEmpty(rtspUrl)) { |
|
|
if (StringUtils.isNotEmpty(rtspUrl)) { |
|
|
log.info("IVS_STREAM_START SYS_CONFIG_RTSP: {}", rtspUrl); |
|
|
log.info("IVS_STREAM_START SYS_CONFIG_RTSP: {}", rtspUrl); |
|
|
ivsVideoRtspView = new IvsVideoRtspView(); |
|
|
ivsVideoRtspView = new IvsVideoRtspView(); |
|
|
|