648540858
2021-11-24 88d5b106cfcf430f49e72b1211da87b5bfeff957
优化拉流代理参数默认值
1个文件已修改
1 ■■■■ 已修改文件
src/main/java/com/genersoft/iot/vmp/vmanager/streamProxy/StreamProxyController.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/genersoft/iot/vmp/vmanager/streamProxy/StreamProxyController.java
@@ -70,6 +70,7 @@
    public WVPResult save(@RequestBody StreamProxyItem param){
        logger.info("添加代理: " + JSONObject.toJSONString(param));
        if (StringUtils.isEmpty(param.getMediaServerId())) param.setMediaServerId("auto");
        if (StringUtils.isEmpty(param.getType())) param.setType("default");
        WVPResult<StreamInfo> result = streamProxyService.save(param);
        return result;
    }