From 2b3b7dbc7973def2342eecd8caf7514f0a367c1b Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期五, 16 四月 2021 17:52:30 +0800 Subject: [PATCH] 使用设备Id+通道Id作为session的识别标识,解决点播异常时无法释放session的问题 --- src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java index f745b2a..7a1c49b 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java @@ -87,7 +87,7 @@ @Override public int compareTo(@NotNull StreamPushItem streamPushItem) { - return new Long(this.createStamp - streamPushItem.getCreateStamp().intValue()).intValue(); + return Long.valueOf(this.createStamp - streamPushItem.getCreateStamp().intValue()).intValue(); } public static class MediaSchema { -- Gitblit v1.8.0