From 845ce5331322b18f1514c476c86a0e352f79dde9 Mon Sep 17 00:00:00 2001 From: lovemen <50255147@qq.com> Date: 星期四, 23 二月 2023 15:35:42 +0800 Subject: [PATCH] 解决上级平台点播proxy代理流时未携带SSRC信息,gbStream采用默认0000000000作为SSRC无法播放问题。以及上级平台点播proxy代理流时回复的SDP本地端口号为0不兼容问题。 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java index 55bf71f..41aebf5 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/RecordInfo.java @@ -1,6 +1,7 @@ package com.genersoft.iot.vmp.gb28181.bean; -import java.util.Date; + +import java.time.Instant; import java.util.List; /** @@ -20,7 +21,9 @@ private int sumNum; - private Date lastTime; + private int count; + + private Instant lastTime; private List<RecordItem> recordList; @@ -72,11 +75,19 @@ this.sn = sn; } - public Date getLastTime() { + public Instant getLastTime() { return lastTime; } - public void setLastTime(Date lastTime) { + public void setLastTime(Instant lastTime) { this.lastTime = lastTime; } + + public int getCount() { + return count; + } + + public void setCount(int count) { + this.count = count; + } } -- Gitblit v1.8.0