diff --git a/inspect-ivs/src/main/java/com/inspect/ivs/controller/IvsStreamController.java b/inspect-ivs/src/main/java/com/inspect/ivs/controller/IvsStreamController.java index 7ae1f38..7eb1681 100644 --- a/inspect-ivs/src/main/java/com/inspect/ivs/controller/IvsStreamController.java +++ b/inspect-ivs/src/main/java/com/inspect/ivs/controller/IvsStreamController.java @@ -57,7 +57,7 @@ public class IvsStreamController { ivsVideoRtspView = new IvsVideoRtspView(); ivsVideoRtspView.setRtspURL("rtsp://admin:htjc2018@192.168.1.134:554/cam/realmonitor?channel=3&subtype=0"); } 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)) { log.info("IVS_STREAM_START SYS_CONFIG_RTSP: {}", rtspUrl); ivsVideoRtspView = new IvsVideoRtspView();