Commit Graph

83 Commits

Author SHA1 Message Date
xiongziliang
272eca1249 hook重试新增延时功能 2022-06-18 14:10:47 +08:00
Leon
01350c810e
update server/WebHook.cpp.
配置文件HOOK添加retry ,设置hook通知失败重试的次数。默认为0,不重试,
2022-06-15 07:14:36 +00:00
xiongziliang
b23cbaa0f8 on_publish hook新增continue_push_ms参数,用于断连续推延时控制 2022-06-04 11:06:35 +08:00
xiongziliang
b0beea7781 修复笔误 2022-05-30 12:44:11 +08:00
xiongziliang
a11289e5f0 集群模式,溯源重试改成最大3次: #1663 2022-05-28 09:52:31 +08:00
xiongziliang
5e729d6153 溯源集群模式支持边沿服务器选择开启转hls: #1588 2022-04-23 18:40:20 +08:00
xiongziliang
8db01651fe on_publish hook新增rtsp/rtmp/ts/fmp4转协议开关 2022-03-12 14:39:59 +08:00
xiongziliang
0f1120b8a6 on_publish hook新增多种选项 2022-03-12 14:34:48 +08:00
xiongziliang
4dc621e1bb 转协议选项抽象为ProtocolOption对象 2022-03-12 13:24:23 +08:00
ziyue
d88fe077ed on_publish hook新增originType字段 2022-03-02 18:03:44 +08:00
夏楚
c72cf4cbcc
整理命名空间 (#1409)
* feat: remove using namespace mediakit in header files.

(cherry picked from commit d44aeb339a8a0e1f0455be82b21fe4b1b536299f)

* feat: remove using namespace mediakit in FFmpegSource.h

* feat: remove using namespace mediakit in RtpExt.h

* feat: remove using namespace mediakit in header files.

* feat: remove using namespace std in header files.

* feat: remove using namespace std in header files when zltoolkit remove std in header

* 补充命名空间

* 整理命名空间

* 整理命名空间2

* 修复macos ci

* 修复编译问题

* 修复编译问题2

* 修复编译问题3

Co-authored-by: Johnny <hellojinqiang@gmail.com>
Co-authored-by: Xiaofeng Wang <wasphin@gmail.com>
2022-02-02 20:34:50 +08:00
ziyue
27482a5459 修复编译警告 2022-01-17 10:35:29 +08:00
ziyue
a0dec8cd79 支持多级溯源 2022-01-12 20:24:19 +08:00
ziyue
170f5500cf 新增溯源超时时间配置项 2022-01-12 17:58:07 +08:00
ziyue
6f4d8c5884 Typo: 修复错误注释 2022-01-12 17:51:00 +08:00
ziyue
838e4f2788 溯源集群模式支持多个源站 2022-01-12 17:43:07 +08:00
ziyue
be77f84315 支持溯源方式的集群模式 2022-01-12 16:48:14 +08:00
夏楚
878ce87329
支持线程内存malloc统计 (#1317) 2021-12-27 17:40:15 +08:00
ziyue
290b3f37a5 新增hook回调抛异常处理逻辑 2021-10-14 16:35:06 +08:00
ziyue
15edbeac3e 整理http相关代码 2021-09-30 16:10:09 +08:00
xiongziliang
10afab77f3 Merge branch 'feature/keep_alive_monk' of https://gitee.com/xia-chu/ZLMediaKit 2021-08-21 19:11:20 +08:00
monktan
a60ce1b1c9 添加serverkeepalive hook接口 2021-08-20 14:52:48 +08:00
ziyue
e3d519dde6 无人观看自动关闭流时才打印日志 2021-08-12 10:54:57 +08:00
xiongziliang
b7e6bfb574 hook接口在http头中附带vhost:#872 2021-05-22 09:53:31 +08:00
xiongziliang
271b180004 修复流注册事件track和regist字段缺失的bug 2021-04-11 11:39:49 +08:00
xia-chu
67e1b1f194 媒体注册hook添加编码等信息 2021-04-08 17:34:46 +08:00
xiongziliang
be8403c31c 完善代码 2021-03-14 10:29:17 +08:00
xia-chu
b6cbc87712 全面整理代码,去除编译警告 2021-01-17 18:31:50 +08:00
xiongziliang
f9f9cde2b4 整理webapi、webhook框架代码 2020-12-27 22:14:59 +08:00
xiongziliang
9618748c65 默认hook地址置空,方便关闭hook
同时整理简化代码
2020-11-08 09:28:46 +08:00
xiongziliang
6a8268f323 添加配置项 mediaServerId 2020-10-01 20:58:19 +08:00
xiongziliang
728dd3ec3c 合并pr:#509 2020-10-01 14:53:15 +08:00
qiuzhouwei
4132df89cd 增加了服务器id,修改了record.cpp中mp4录制的自定义录制路径,ffmpegsource中的超时时间,webhook中的唯一id等 2020-09-28 10:45:59 +08:00
xiongziliang
416d21df36 返回值去除std::move 2020-09-21 14:32:56 +08:00
xiongziliang
f84981dc75 合并pr(添加录制ts完成通知): #479 2020-09-20 11:40:42 +08:00
wxf
188e087fc2 添加 hls ts 切片录制完成通知 2020-09-14 13:20:45 +08:00
xiongziliang
9e26a02fb1 实现rtsp/rtmp按需转协议功能 2020-09-12 19:09:56 +08:00
xiongziliang
1638e53b15 未找到流默认等待 2020-08-04 16:47:29 +08:00
xiongziliang
c612f291db 关闭hook时,流不存在就立即返回播放失败:#417 2020-07-16 16:03:22 +08:00
xiongziliang
eda7a59f3c 统一事件参数类型 2020-04-23 22:04:59 +08:00
xiongziliang
1d5c6cb141 整理解析器 2020-04-20 18:13:45 +08:00
xiongziliang
7019e4717c 整理授权协议 2020-04-04 20:30:09 +08:00
xiongziliang
46be8a38e7 重写MP4点播 2020-04-03 20:45:58 +08:00
xiongziliang
a7a376b3f2 流量汇报事件添加id参数 2020-02-13 12:10:08 +08:00
xiongziliang
7e25537957 流量汇报事件添加客户端ip和端口参数 2020-02-13 11:33:59 +08:00
xiongziliang
835d6bd9b5 允许本机和超级用户任意访问http目录 2020-01-09 17:03:29 +08:00
xiongziliang
9cdbe4c4ef 修复协议转换配置开关不生效的bug 2020-01-07 15:38:35 +08:00
xiongziliang
5258169a07 修复协议转换配置开关不生效的bug 2020-01-07 15:37:48 +08:00
xiongziliang
345db4b999 优化代码 2019-12-29 15:43:51 +08:00
xiongziliang
e91c26c052 实现hls的流量汇报事件 2019-12-29 15:38:29 +08:00