将device信息写入redis以提高sip处理速度

This commit is contained in:
648540858
2021-12-13 17:20:23 +08:00
parent b6fa459bc3
commit bc0319b3f3
12 changed files with 111 additions and 10 deletions

View File

@@ -467,7 +467,7 @@ public class ZLMHttpHookListener {
if (s.length == 2) {
String deviceId = s[0];
String channelId = s[1];
Device device = storager.queryVideoDevice(deviceId);
Device device = redisCatchStorage.getDevice(deviceId);
if (device != null) {
UUID uuid = UUID.randomUUID();
SSRCInfo ssrcInfo;