648540858
2022-02-28 9c5b1060af4e6c468b2cf95fbb9ec6d0a05fad5c
src/main/java/com/genersoft/iot/vmp/vmanager/streamProxy/StreamProxyController.java
@@ -70,6 +70,8 @@
    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");
        if (StringUtils.isEmpty(param.getGbId())) param.setGbId(null);
        WVPResult<StreamInfo> result = streamProxyService.save(param);
        return result;
    }