liusuyi
2026-05-12 9f327c33730ba10cb2d89aff99b727502232e968
ard-modules/ard-modules-work/src/main/java/com/ard/work/sdk/hp/service/HpSDK.java
@@ -1535,7 +1535,7 @@
                    channel.setVideoCode(videoCfg.getVideoEncType());
                }
                String rtspUrl = buildRtspUrlForType1(node, chanNo);
                channel.setRtspUrl(rtspUrl);
                channel.setLiveAddress(rtspUrl);
            } else if ("2".equals(node.getNodeType())) {
                channel.setDeviceId(camera.getId());       // 归属父设备 ID
@@ -1544,7 +1544,7 @@
                channel.setVideoCode("h264");              // 写死通道编码格式
                // 【新增】构建 rtspUrl - 类型2
                String rtspUrl = buildRtspUrlForType2(node);
                channel.setRtspUrl(rtspUrl);
                channel.setLiveAddress(rtspUrl);
            }
            channelList.add(channel);
        }