From bec35ebf940f5cb1f0e2b9052d6dfb4da3ab7391 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 28 五月 2024 16:06:08 +0800 Subject: [PATCH] 调整录像进度获取流程 --- src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java old mode 100644 new mode 100755 index a2da561..dee9d66 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java @@ -18,6 +18,10 @@ return new HookResult(0, "success"); } + public static HookResultForOnPublish Fail(){ + return new HookResultForOnPublish(-1, "fail"); + } + public int getCode() { return code; } -- Gitblit v1.8.0