Commit Graph

41 Commits

Author SHA1 Message Date
ziyue
36f24527a4 http cookie减少互斥锁,优化性能 2022-02-11 14:33:11 +08:00
ziyue
ba213346bc http文件服务器mmap方案采用共享方式 2022-02-10 20:57:23 +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
2e9ff3ed3c HLS: 修复hls直播ts/m3u8文件更新导致mmap失效,触发bus error的bug 2021-12-22 16:08:23 +08:00
ziyue
b4327b9b18 获取文件大小功能移至zltoolkit 2021-10-20 18:09:37 +08:00
ziyue
2242577661 优化解析复杂数据结构配置项时的性能 2021-08-27 11:11:05 +08:00
ziyue
848774271f 合并并完善http虚拟目录相关代码 2021-08-26 19:50:19 +08:00
baiyfcu
626bf3dcf9 添加http文件服务可挂载物理目录,新增ENABLE_API_STATIC_LIB
sa
2021-08-25 14:30:31 +08:00
ziyue
0f6d1135eb 优化http调试日志性能 2021-08-12 21:29:02 +08:00
xiongziliang
f54e02f511 修复http文件服务器相关bug 2021-05-22 09:28:19 +08:00
xiongziliang
be8403c31c 完善代码 2021-03-14 10:29:17 +08:00
xia-chu
b6cbc87712 全面整理代码,去除编译警告 2021-01-17 18:31:50 +08:00
xiongziliang
d37607026f 修复编译警告 2021-01-02 21:58:14 +08:00
xiongziliang
13221ad796 http回复根据状态码自动生成status message: #602 2021-01-02 21:24:06 +08:00
xiongziliang
4f42f508d5 复用代码 2020-09-26 09:39:38 +08:00
xiongziliang
416d21df36 返回值去除std::move 2020-09-21 14:32:56 +08:00
xiongziliang
07ef417250 优化HLS直播相关代码 2020-09-20 10:13:15 +08:00
xiongziliang
1b9550cfc4 修复HLS按需生成相关bug 2020-09-12 20:42:58 +08:00
xiongziliang
be1e872f0c 完善按需转协议(包括hls) 2020-09-12 19:20:18 +08:00
xiongziliang
268a7fec10 修复hls播放鉴权相关bug 2020-09-12 19:14:35 +08:00
xiongziliang
41c75fb66a 新增是否开启浏览http目录的配置选项:#367 2020-06-30 09:16:02 +08:00
xiongziliang
b4228f91c3 适配ZLToolKit 2020-04-24 12:39:22 +08:00
xiongziliang
eda7a59f3c 统一事件参数类型 2020-04-23 22:04:59 +08:00
xiongziliang
b6946a5968 事件广播触发者改成SockInfo对象 2020-04-23 21:38:44 +08:00
xiongziliang
1d5c6cb141 整理解析器 2020-04-20 18:13:45 +08:00
xiongziliang
7019e4717c 整理授权协议 2020-04-04 20:30:09 +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
d482dc1c05 完善http服务器mime类别 2020-01-02 18:24:11 +08:00
xiongziliang
52d831e990 简化hls cookie相关逻辑 2020-01-02 17:46:20 +08:00
xiongziliang
0063571f3a 解决hls中断恢复时播放器计数不准确的问题 2019-12-29 17:55:02 +08:00
xiongziliang
e91c26c052 实现hls的流量汇报事件 2019-12-29 15:38:29 +08:00
xiongziliang
e951efc615 优化hls直播性能 2019-12-29 14:00:20 +08:00
xiongziliang
4b4c4e0cec 实现hls按需拉流 2019-12-29 11:52:02 +08:00
xiongziliang
1afacdcff8 初步添加HlsMediaSource 2019-12-28 18:50:56 +08:00
xiongziliang
94806b2cd6 初步实现hls播放器个数计数 2019-12-28 16:48:11 +08:00
xiongziliang
2da0c884a1 添加kBroadcastHttpBeforeAccess事件,拦截http文件下载事件 2019-12-23 12:47:04 +08:00
xiongziliang
c1ab73f758 修复类型转换失败的bug 2019-11-30 22:14:22 +08:00
xiongziliang
cadff93d4d 1、hls cookie改成60秒有效期并且访问时刷新cookie
2、去除keep-alive下最大请求次数限制
2019-11-30 14:29:44 +08:00
xiongziliang
d46b67a5cf 精简代码 2019-11-30 11:56:40 +08:00
xiongziliang
a44ab25d46 整理http文件服务器相关代码 2019-11-30 11:38:00 +08:00