Commit 88d5b106cfcf430f49e72b1211da87b5bfeff957

Authored by 648540858
1 parent 08c45876

优化拉流代理参数默认值

src/main/java/com/genersoft/iot/vmp/vmanager/streamProxy/StreamProxyController.java
... ... @@ -70,6 +70,7 @@ public class StreamProxyController {
70 70 public WVPResult save(@RequestBody StreamProxyItem param){
71 71 logger.info("添加代理: " + JSONObject.toJSONString(param));
72 72 if (StringUtils.isEmpty(param.getMediaServerId())) param.setMediaServerId("auto");
  73 + if (StringUtils.isEmpty(param.getType())) param.setType("default");
73 74 WVPResult<StreamInfo> result = streamProxyService.save(param);
74 75 return result;
75 76 }
... ...