648540858
2021-11-30 fb9678e9d3e9f92d8c5c431cdb8563baaf7d54a7
修复兼容接口云台控制
1个文件已修改
2 ■■■■■ 已修改文件
src/main/java/com/genersoft/iot/vmp/web/gb28181/ApiControlController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/genersoft/iot/vmp/web/gb28181/ApiControlController.java
@@ -44,6 +44,8 @@
            logger.debug("模拟接口> 设备云台控制 API调用,deviceId:{} ,channelId:{} ,command:{} ,speed:{} ",
                    serial, code, command, speed);
        }
        if (channel == null) {channel = 0;}
        if (speed == null) {speed = 0;}
        Device device = storager.queryVideoDevice(serial);
        if (device == null) {
            JSONObject result = new JSONObject();