Files
wvp-GB28181-pro/zlm.md
2025-04-18 23:14:57 +08:00

16 lines
1017 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1. 增加接口用来返回hook调用耗时。
参数: sn
返回值: hook耗时
功能: zlm收到调用后立即调用心跳hookhook中携带sn信息 zlm收到hook返回后计算此次hook的耗时然后返回耗时
用途: 1. 可以用来检测hook配置是否正常
2. 检测wvp与zlm连接的健康程度
2. 增加接口查询loadMP4File的录像播放位置
参数: app steam
返回: 当前播放的hook位置
功能: zlm收到请求后查询流的seek位置并返回
用途: 1. 获取当前播放位置,可以在页面同步显示时间
2. 用来时快进五秒 快退五秒类似的操作
3. loadMP4File扩展 增加默认seek值和默认倍速开始时直接从这个位置开始并使用指定的倍速
4. 支持下载指定取件的mp4文件这个区间可能包括多个文件和文件的一部分。
5. 希望seek接口和倍速接口可以去除schema的必选作为可选项不传则默认全部