From 6354ab343c48647b846f7e116378d745134e9adb Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Thu, 14 Sep 2023 17:08:13 +0800 Subject: [PATCH] =?UTF-8?q?invite=20=E6=97=B6=E9=97=B4=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processor/invite/request/InviteRequestProcessor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/message/processor/invite/request/InviteRequestProcessor.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/message/processor/invite/request/InviteRequestProcessor.java index 63b4273..7696984 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/message/processor/invite/request/InviteRequestProcessor.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/core/sip/message/processor/invite/request/InviteRequestProcessor.java @@ -143,9 +143,9 @@ public class InviteRequestProcessor implements MessageProcessor { @SneakyThrows private void playback(MockingDevice device,GB28181Description gb28181Description, MediaDescription mediaDescription, TimeField time){ - Date start = time.getStart(); - Date stop = time.getStop(); - log.info("{} ~ {}", start, time.getStop()); + Date start = new Date(time.getStartTime() * 1000); + Date stop = new Date(time.getStopTime() * 1000); + log.info("{} ~ {}", start, stop); String channelId = gb28181Description.getOrigin().getUsername(); log.info("通道id: {}", channelId); String address = gb28181Description.getOrigin().getAddress();