修复发流复盖的为问题

This commit is contained in:
648540858
2023-07-12 15:13:53 +08:00
parent 04e7f48fde
commit f525b55729
2 changed files with 19 additions and 6 deletions

View File

@@ -85,7 +85,10 @@ public class ZLMRTPServerFactory {
}else {
param.put("port", port);
}
param.put("ssrc", ssrc);
if (ssrc != 0) {
param.put("ssrc", ssrc);
}
JSONObject openRtpServerResultJson = zlmresTfulUtils.openRtpServer(mediaServerItem, param);
logger.info(JSONObject.toJSONString(openRtpServerResultJson));
if (openRtpServerResultJson != null) {