From dfba12976807c8845c8effc4a77a76deb8b7b105 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sun, 7 Jan 2024 02:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20=E5=A4=87=E6=B3=A8=201?= =?UTF-8?q?=E5=B0=8F=E6=97=B6=E8=87=AA=E5=8A=A8=E5=85=B3=E9=97=AD=E5=AE=9E?= =?UTF-8?q?=E6=97=B6=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/skcks/docking/gb28181/service/play/PlayService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/play/PlayService.java b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/play/PlayService.java index a252b1d..09bc0bf 100644 --- a/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/play/PlayService.java +++ b/gb28181-service/src/main/java/cn/skcks/docking/gb28181/service/play/PlayService.java @@ -204,6 +204,7 @@ public class PlayService { subscribe.getSipResponseSubscribe().delPublisher(subscribeKey); } }; + // 1小时自动关闭 byeSubscribe(inviteRequestBuilder,provider,callId,3600,()->{ RedisUtil.KeyOps.delete(key); });