存储部分使用sqlite代替redis-4

This commit is contained in:
panlinlin
2021-01-05 11:25:05 +08:00
parent dcd78a1cfa
commit 381e3129a3
6 changed files with 39 additions and 18 deletions

View File

@@ -357,11 +357,7 @@ public class SIPCommander implements ISIPCommander {
ClientTransaction transaction = transmitRequest(device, request, errorEvent);
streamSession.put(streamId, transaction);
DeviceChannel deviceChannel = storager.queryChannel(device.getDeviceId(), channelId);
if (deviceChannel != null) {
deviceChannel.setStreamId(streamId);
storager.updateChannel(device.getDeviceId(), deviceChannel);
}
} catch ( SipException | ParseException | InvalidArgumentException e) {