Commit c04de4cd70d1698741547998b1b6d67f46c64735

Authored by 648540858
1 parent 694076dc

注释与日志优化

src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMHttpHookListener.java
@@ -183,7 +183,7 @@ public class ZLMHttpHookListener { @@ -183,7 +183,7 @@ public class ZLMHttpHookListener {
183 183
184 if (!"rtp".equals(param.getApp())) { 184 if (!"rtp".equals(param.getApp())) {
185 if (userSetting.getPushAuthority()) { 185 if (userSetting.getPushAuthority()) {
186 -// 推流鉴权 186 + // 推流鉴权
187 if (param.getParams() == null) { 187 if (param.getParams() == null) {
188 logger.info("推流鉴权失败: 缺少不要参数:sign=md5(user表的pushKey)"); 188 logger.info("推流鉴权失败: 缺少不要参数:sign=md5(user表的pushKey)");
189 ret.put("code", 401); 189 ret.put("code", 401);
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRTPServerFactory.java
@@ -264,7 +264,7 @@ public class ZLMRTPServerFactory { @@ -264,7 +264,7 @@ public class ZLMRTPServerFactory {
264 * 释放保持的端口 264 * 释放保持的端口
265 */ 265 */
266 public boolean releasePort(MediaServerItem serverItem, String ssrc) { 266 public boolean releasePort(MediaServerItem serverItem, String ssrc) {
267 - logger.info("[上级点播] {}->释放监听端口,等待推流", ssrc); 267 + logger.info("[上级点播] {}->释放监听端口", ssrc);
268 boolean closeRTPServerResult = closeRtpServer(serverItem, ssrc); 268 boolean closeRTPServerResult = closeRtpServer(serverItem, ssrc);
269 HookSubscribeForRtpServerTimeout hookSubscribeForRtpServerTimeout = HookSubscribeFactory.on_rtp_server_timeout(ssrc, null, serverItem.getId()); 269 HookSubscribeForRtpServerTimeout hookSubscribeForRtpServerTimeout = HookSubscribeFactory.on_rtp_server_timeout(ssrc, null, serverItem.getId());
270 // 订阅 zlm启动事件, 新的zlm也会从这里进入系统 270 // 订阅 zlm启动事件, 新的zlm也会从这里进入系统