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/transmit/callback/DeferredResultHolder.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/callback/DeferredResultHolder.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/callback/DeferredResultHolder.java index 692e31e..0759d7f 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/callback/DeferredResultHolder.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/callback/DeferredResultHolder.java @@ -25,8 +25,10 @@ public static final String CALLBACK_CMD_PlAY = "CALLBACK_PLAY"; + public static final String CALLBACK_CMD_STOP = "CALLBACK_STOP"; + private Map<String, DeferredResult> map = new ConcurrentHashMap<String, DeferredResult>(); - + public void put(String key, DeferredResult result) { map.put(key, result); } -- Gitblit v1.8.0