From 45b3aa13681ab016e01935e27e8ead7d551cca95 Mon Sep 17 00:00:00 2001 From: zxb <919411476@qq.com> Date: Fri, 13 Oct 2023 16:28:59 +0800 Subject: [PATCH] =?UTF-8?q?RTP=E5=88=86=E9=85=8D=E7=AB=AF=E5=8F=A3=20<=3D?= =?UTF-8?q?=200=20=E4=B8=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/genersoft/iot/vmp/media/zlm/ZLMServerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerFactory.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerFactory.java index 8c84133f..0a1d6e6a 100755 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerFactory.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerFactory.java @@ -165,7 +165,7 @@ public class ZLMServerFactory { String deviceId, String channelId, boolean tcp, boolean rtcp){ int localPort = sendRtpPortManager.getNextPort(serverItem); - if (localPort == 0) { + if (localPort <= 0) { return null; } SendRtpItem sendRtpItem = new SendRtpItem();