From 3884e9a56aeab7ac2ad7c9483059adc0df6683d9 Mon Sep 17 00:00:00 2001 From: jiang <893224616@qq.com> Date: 星期三, 07 九月 2022 15:56:48 +0800 Subject: [PATCH] 1.根据redis消息更新推流列表时同时更新在线状态 2.推流列表的模板增加在线状态 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java index ade5d0e..b056cc7 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java @@ -53,7 +53,7 @@ /** * 璁惧鍥芥爣缂栧彿 */ - @Schema(description = "11111") + @Schema(description = "璁惧鍥芥爣缂栧彿") private String deviceGBId; /** @@ -90,7 +90,7 @@ * 蹇冭烦鍛ㄦ湡(绉�) */ @Schema(description = "蹇冭烦鍛ㄦ湡(绉�)") - private String keepTimeout; + private int keepTimeout; /** * 浼犺緭鍗忚 @@ -113,7 +113,6 @@ /** * RTCP娴佷繚娲� - * TODO 棰勭暀, 鏆備笉瀹炵幇 */ @Schema(description = "RTCP娴佷繚娲�") private boolean rtcp; @@ -294,11 +293,11 @@ this.expires = expires; } - public String getKeepTimeout() { + public int getKeepTimeout() { return keepTimeout; } - public void setKeepTimeout(String keepTimeout) { + public void setKeepTimeout(int keepTimeout) { this.keepTimeout = keepTimeout; } -- Gitblit v1.8.0