Commit Graph

887 Commits

Author SHA1 Message Date
xiongziliang
6a97fcb3de 媒体注册、重置事件改成同步触发 2020-02-01 22:57:48 +08:00
xiongziliang
075a615a92 Merge branch 'research' of https://gitee.com/liuziloong/FreeNVR 2020-02-01 21:20:57 +08:00
xiongziliang
92f69c3915 优化纯音频流的延时 2020-01-24 22:16:28 +08:00
xiongziliang
a9539eb626 HLS遇到I帧才切片:#226 2020-01-24 22:00:55 +08:00
xiongziliang
224a35dbd5 解决单音频无法录制mp4的bug 2020-01-24 21:09:47 +08:00
xiongziliang
90c6dd4bfa 修复关闭hls后无法编译通过的问题 2020-01-24 20:54:39 +08:00
xiongziliang
4470f2e427 添加addTrackCompleted方法,缩短流注册延时 2020-01-22 19:09:53 +08:00
xiongziliang
ac33592319 修复死锁的问题 2020-01-21 11:05:51 +08:00
xiongziliang
f5187e8b0d 优化GOP相关逻辑 2020-01-20 16:22:25 +08:00
liuziloong
795860a019 修复目录级别错误 2020-01-20 15:22:20 +08:00
liuziloong
2384aa5bbd MP4录像增加一级目录,按照:年月/年月日/*.mp4存储;
增加按月,按天查询mp4录像;
消除一处编译器警告;
2020-01-20 15:02:45 +08:00
xiongziliang
caa870c37e websocket服务器支持根据url选择不同的运行逻辑 2020-01-15 15:11:42 +08:00
xiongziliang
2610ba7c8b 修复rtmp注册时还未生成完整config包的bug 2020-01-15 11:46:15 +08:00
xiongziliang
444137e5b7 重写GOP缓存机制 2020-01-15 11:07:55 +08:00
xiongziliang
0a4b59031f 及时推拉流也能确保第一帧为关键帧 2020-01-14 19:41:55 +08:00
xiongziliang
a573d7302b 提高rtsp客户端兼容性 2020-01-14 18:11:10 +08:00
xiongziliang
491ed6f83d rtsp不允许覆盖时间戳(pts) 2020-01-14 10:34:05 +08:00
xiongziliang
4a7d17334c rtsp不允许覆盖时间戳(pts) 2020-01-14 10:29:27 +08:00
xiongziliang
d8dbf43490 优化dts生成性能 2020-01-14 10:25:14 +08:00
xiongziliang
ec67900665 优化不含B帧时的dts生成性能 2020-01-14 10:06:35 +08:00
xiongziliang
9fa6e9d8d9 添加dts生成算法,兼容含B帧的rtsp推流 2020-01-14 10:04:24 +08:00
xiongziliang
b55db11de3 解决rtmp过早注册的问题 2020-01-13 15:48:55 +08:00
xiongziliang
66ec67bfb9 1、修复生成的rtmp无法被flash播放的问题
2、修复RTSP有B帧时,相对时间戳计算异常的问题
2020-01-13 11:51:29 +08:00
xiongziliang
db146406c3 修复gcc4.85无法编译的问题 2020-01-10 15:29:21 +08:00
xiongziliang
653132b38c 去除多余日志 2020-01-08 14:03:56 +08:00
xiongziliang
ab32ca39a9 去除多余日志 2020-01-08 14:00:53 +08:00
xiongziliang
5d2864cff2 优化DevChannel内存拷贝问题 2020-01-08 12:15:59 +08:00
xiongziliang
57c5d2963a 优化DevChannel内存拷贝问题 2020-01-08 12:14:27 +08:00
xiongziliang
1ce9af35e3 1、复用rtsp url解析代码
2、修复rtsp/rtmp推流异常回调紊乱的问题
2020-01-04 12:03:53 +08:00
xiongziliang
cdba214e79 MP4录制修复兼容性问题 2020-01-03 14:27:26 +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
d082955510 合并#199 2020-01-02 16:29:20 +08:00
Gemfield
e31c1ee207 Add optional customized_path parameter for startRecord 2020-01-02 12:47:12 +08:00
xiongziliang
0063571f3a 解决hls中断恢复时播放器计数不准确的问题 2019-12-29 17:55:02 +08:00
xiongziliang
4d42459004 优化代码 2019-12-29 16:54:02 +08:00
xiongziliang
f48e611253 优化http文件服务器性能 2019-12-29 15:55:20 +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
c3302eec1e 优化hls播放器计数 2019-12-29 13:38:16 +08:00
xiongziliang
97ad062dcf 默认关闭rtmp时间戳覆盖 2019-12-29 12:16:02 +08:00
xiongziliang
236dc46b82 完成HLS按需生成流 2019-12-29 12:10:31 +08:00
xiongziliang
4b4c4e0cec 实现hls按需拉流 2019-12-29 11:52:02 +08:00
xiongziliang
54736859d4 基本完成hls相关的主要事件 2019-12-29 10:49:04 +08:00
xiongziliang
1afacdcff8 初步添加HlsMediaSource 2019-12-28 18:50:56 +08:00
xiongziliang
e72fa359b6 完善hls播放器个数计数 2019-12-28 16:57:35 +08:00
xiongziliang
f93b32740f 初步实现hls播放器个数计数 2019-12-28 16:48:42 +08:00
xiongziliang
94806b2cd6 初步实现hls播放器个数计数 2019-12-28 16:48:11 +08:00
xiongziliang
20d56b713f 性能优化 2019-12-28 13:39:25 +08:00
xiongziliang
71631a33c4 http服务器实现后台线程读取数据 2019-12-28 13:11:41 +08:00
xiongziliang
291969aee6 修复文件写缓存提前销毁的问题:#196 2019-12-27 15:36:54 +08:00
xiongziliang
118be421d6 添加bom头 2019-12-27 12:22:17 +08:00
xiongziliang
aaab52c94f 文件根目录httpRoot改成www,并且自动复制到相应目录 2019-12-27 12:15:38 +08:00
xiongziliang
e8951c129f 添加线程相关api 2019-12-27 10:46:40 +08:00
xiongziliang
11a7d1e6c4 完成tcp服务器/客户端 c api 2019-12-26 21:22:19 +08:00
xiongziliang
56397628da 修复未初始化导致的bug 2019-12-26 19:36:57 +08:00
xiongziliang
003021e24b 优化http服务器性能 2019-12-26 15:02:28 +08:00
xiongziliang
f7db9d3690 默认关闭虚假主机 2019-12-26 12:23:38 +08:00
xiongziliang
a30a4e24f1 修复rtsp推流转协议失败的bug 2019-12-26 12:20:34 +08:00
xiongziliang
453660ab79 整理MediaSource派生类
修复转协议或录制时忽然Track的问题
2019-12-26 12:10:54 +08:00
xiongziliang
9e8fe8c86a 完善代码 2019-12-26 12:09:35 +08:00
xiongziliang
3830792c57 整理MediaSource派生类
修复转协议或录制时忽然Track的问题
2019-12-26 11:53:19 +08:00
xiongziliang
761a665b1b 删除冗余设计 2019-12-26 09:43:44 +08:00
xiongziliang
d59a706cc1 简化代码 2019-12-25 20:07:42 +08:00
xiongziliang
31f5d77880 添加HttpRequester的C接口 2019-12-25 14:25:26 +08:00
xiongziliang
1bfe4937cd 整理MediaSource派生类代码 2019-12-25 11:04:12 +08:00
xiongziliang
bb4e8b73b5 兼容一些不规范的rtmp推流:#190 2019-12-25 10:13:59 +08:00
xiongziliang
e663ddd9a6 简化事件参数 2019-12-24 14:08:16 +08:00
xiongziliang
eb89a3e504 完善http服务器对不固定长度body的支持 2019-12-24 10:25:28 +08:00
xiongziliang
40c2326950 完善c接口事件定义 2019-12-23 18:50:46 +08:00
xiongziliang
92bc4fbbb1 c api测试程序防止退出时崩溃 2019-12-23 14:20:49 +08:00
xiongziliang
2da0c884a1 添加kBroadcastHttpBeforeAccess事件,拦截http文件下载事件 2019-12-23 12:47:04 +08:00
xiongziliang
f32f5df4eb 修复mp4录制崩溃的bug:#181 2019-12-18 18:40:41 +08:00
xiongziliang
73df1bb949 添加安全冗余代码 2019-12-18 15:02:55 +08:00
xiongziliang
a1e5724c70 优化hls录制 2019-12-17 09:18:11 +08:00
xiongziliang
1169f29ca6 fixed #175 2019-12-17 09:05:34 +08:00
xiongziliang
1cc6a0dce5 fixed #175 2019-12-17 09:04:10 +08:00
xiongziliang
5322a5761b 修复时间戳跳跃可能导致的问题 2019-12-16 16:17:52 +08:00
xiongziliang
3f12c0ccde 修复时间戳覆盖的累积误差 2019-12-16 15:49:52 +08:00
xiongziliang
c353c626c1 1、根据PS获取时间戳
2、修复rtp代理可能花屏的问题
2019-12-16 11:00:40 +08:00
xiongziliang
6d697daeb0 去除FrameMerger逻辑 2019-12-13 15:49:57 +08:00
xiongziliang
6e59000265 修复过滤多余帧类型导致的bug 2019-12-13 15:42:58 +08:00
xiongziliang
bd8a9a78e8 rtp代理防止时间戳回环 2019-12-13 15:42:12 +08:00
xiongziliang
5fe5dd9de6 hls保存ts文件时根据日期、时间保存 2019-12-12 22:58:31 +08:00
xiongziliang
ee66d945e8 更新media-server库 2019-12-12 22:25:55 +08:00
xiongziliang
99c1dd339f 修复adts头相关bug 2019-12-11 09:29:10 +08:00
xiongziliang
fa4fac1e0d rtp推流由配置文件决定是否默认录制 2019-12-09 17:49:00 +08:00
xiongziliang
655a30081b 修复rtp(tcp)获取ssrc失败的bug 2019-12-06 20:18:08 +08:00
xiongziliang
adf0e09262 mp4点播支持pts 2019-12-06 17:23:49 +08:00
xiongziliang
0d9bdec182 支持rtp代理服务器 2019-12-06 11:54:10 +08:00
Gemfield
55d258fafc Add rtp server 2019-12-05 19:20:12 +08:00
xiongziliang
10dc254510 完善stopRecord接口 2019-12-05 14:31:44 +08:00
xiongziliang
69c0c3e237 添加录制相关http api 2019-12-05 12:04:08 +08:00
xiongziliang
f581f0f2a7 优化精简录制相关代码 2019-12-05 10:47:23 +08:00
xiongziliang
6eb4d5916d 修复bug 2019-12-04 19:19:03 +08:00
xiongziliang
33047ddc94 程序退出前停止一切录制 2019-12-04 19:15:48 +08:00
xiongziliang
728fd55e0c 修复无法延后录制的bug 2019-12-04 18:58:19 +08:00
xiongziliang
ae230bc1aa 优化代码 2019-12-04 18:53:12 +08:00
xiongziliang
57043138d8 优化代码 2019-12-04 18:49:22 +08:00
xiongziliang
e69cbc1486 优化代码 2019-12-04 18:46:31 +08:00