From d5026897c1855e92191e60545dcfea58c2efdfb6 Mon Sep 17 00:00:00 2001 From: Lawrence <1934378145@qq.com> Date: 星期日, 10 一月 2021 23:11:30 +0800 Subject: [PATCH] 修正回放错误,优化sdp排序,提高设备兼容性 --- src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java b/src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java index 4a4a538..c69faf9 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/session/VideoStreamSessionManager.java @@ -17,13 +17,11 @@ private ConcurrentHashMap<String, ClientTransaction> sessionMap = new ConcurrentHashMap<>(); public String createPlaySsrc(){ - String ssrc = SsrcUtil.getPlaySsrc(); - return ssrc; + return SsrcUtil.getPlaySsrc(); } public String createPlayBackSsrc(){ - String ssrc = SsrcUtil.getPlayBackSsrc(); - return ssrc; + return SsrcUtil.getPlayBackSsrc(); } public void put(String ssrc,ClientTransaction transaction){ -- Gitblit v1.8.0