调整
This commit is contained in:
parent
c1655bdeb5
commit
d7837a1975
@ -189,7 +189,7 @@ public class Gb28181DownloadService {
|
||||
String cacheKey = CacheUtil.getKey(docking.getGbDeviceId(), device.getGbDeviceChannelId());
|
||||
String existCallId = RedisUtil.StringOps.get(cacheKey);
|
||||
scheduledExecutorService.schedule(()->{
|
||||
log.info("到达结束时间 发送 bye 关闭");
|
||||
log.info("到达结束时间 发送 bye 关闭 {} {}", videoInfo.getDevice(), videoInfo.getCallId());
|
||||
String deviceIp = docking.getIp();
|
||||
int devicePort = Integer.parseInt(docking.getPort());
|
||||
sender.sendRequest((provider,localIp,localPort)->
|
||||
@ -326,7 +326,7 @@ public class Gb28181DownloadService {
|
||||
sender.sendRequest((provider,localIp,localPort)->
|
||||
SipRequestBuilder.createByeRequest(deviceIp, devicePort, device.getGbDeviceChannelId(), SipUtil.generateFromTag(), null, existCallId));
|
||||
RedisUtil.KeyOps.delete(cacheKey);
|
||||
log.info("关闭已存在的 点播请求 {} {}", cacheKey,existCallId);
|
||||
log.info("关闭已存在的 点播请求 {} {}", cacheKey, existCallId);
|
||||
Thread.sleep(500);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user