From f7101f783973bca2d5e68c600eaa9c24a92d468f Mon Sep 17 00:00:00 2001
From: Lawrence <1934378145@qq.com>
Date: 星期一, 26 十月 2020 16:48:36 +0800
Subject: [PATCH] 改为用1.8版本编译,以便与主程序兼容
---
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
index 666cc25..96b4af2 100644
--- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
+++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
@@ -46,6 +46,9 @@
@Autowired
private IVideoManagerStorager storager;
+ @Autowired
+ private ZLMRESTfulUtils zlmresTfulUtils;
+
@Value("${media.ip}")
private String mediaIp;
@@ -125,6 +128,8 @@
}
String app = json.getString("app");
String streamId = json.getString("id");
+
+
// String ssrc = String.format("%10d", Integer.parseInt(streamId, 16)); // ZLM 瑕佹眰澶у啓涓旈浣嶈ˉ闆�
String ssrc = new DecimalFormat("0000000000").format(Integer.parseInt(streamId, 16));
StreamInfo streamInfo = storager.queryPlayBySSRC(ssrc);
--
Gitblit v1.8.0