Commit 7079c73b99f17a183c763a5bec91fba8002c0452

Authored by 648540858
1 parent 4fbc364a

修复空指针异常

src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
... ... @@ -587,7 +587,7 @@ public class ZLMHttpHookListener {
587 587 return ret;
588 588 }
589 589 SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(null, null, param.getStream(), null);
590   - if ("talk".equals(sendRtpItem.getApp())) {
  590 + if (sendRtpItem != null && "talk".equals(sendRtpItem.getApp())) {
591 591 ret.put("close", false);
592 592 return ret;
593 593 }
... ...