From ddb36e54bd51761138c536ccca889d3f80182334 Mon Sep 17 00:00:00 2001 From: lin <18010473990@163.com> Date: 星期六, 08 一月 2022 16:47:20 +0800 Subject: [PATCH] 级联平台添加GPS订阅支持 --- src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java | 16 +++++++++++++++- 1 files changed, 15 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..73e162a 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 @@ -76,6 +76,11 @@ */ private String vhost; + /** + * 浣跨敤鐨勬祦濯掍綋ID + */ + private String mediaServerId; + public String getVhost() { return vhost; } @@ -87,7 +92,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 { @@ -202,5 +207,14 @@ } + @Override + public String getMediaServerId() { + return mediaServerId; + } + + @Override + public void setMediaServerId(String mediaServerId) { + this.mediaServerId = mediaServerId; + } } -- Gitblit v1.8.0