修改默认参数与ZLM统一

This commit is contained in:
panll
2020-10-17 16:41:40 +08:00
parent b559b73be4
commit 04af6de363
2 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ public class ZLMUtils {
Map<String, Object> param = new HashMap<>();
int newPort = getPortFromUdpPortRange();
param.put("port", newPort);
param.put("enable_tcp", 0);
param.put("enable_tcp", 1);
param.put("stream_id", streamId);
JSONObject jsonObject = zlmresTfulUtils.openRtpServer(param);
if (jsonObject.getInteger("code") == 0) {