修复空指针异常

This commit is contained in:
648540858
2023-08-03 09:52:47 +08:00
parent 4fbc364ab3
commit 7079c73b99

View File

@@ -587,7 +587,7 @@ public class ZLMHttpHookListener {
return ret; return ret;
} }
SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(null, null, param.getStream(), null); SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(null, null, param.getStream(), null);
if ("talk".equals(sendRtpItem.getApp())) { if (sendRtpItem != null && "talk".equals(sendRtpItem.getApp())) {
ret.put("close", false); ret.put("close", false);
return ret; return ret;
} }