修复空指针异常

结构优化
648540858 2023-08-03 09:52:47 +08:00
parent 4fbc364ab3
commit 7079c73b99
1 changed files with 1 additions and 1 deletions

View File

@ -587,7 +587,7 @@ public class ZLMHttpHookListener {
return ret;
}
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);
return ret;
}