Commit Graph

1681 Commits

Author SHA1 Message Date
ziyue
4e01c29833 Rtmp: 优化复杂握手c0c1生成算法性能 2021-12-22 22:20:28 +08:00
ziyue
ab14585a81 Rtmp: rtmp客户端支持复杂握手,兼容某些rtmp服务器 2021-12-22 22:06:19 +08:00
ziyue
2e9ff3ed3c HLS: 修复hls直播ts/m3u8文件更新导致mmap失效,触发bus error的bug 2021-12-22 16:08:23 +08:00
ziyue
fe575af0d8 Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-12-22 14:06:46 +08:00
ziyue
6a044f0726 HLS: 修复http客户端连接复用导致hls播放异常的bug: #1294 2021-12-22 14:03:05 +08:00
xiongziliang
ee13ca57c2 Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-12-17 22:40:42 +08:00
xiongziliang
0feac7c924 MP4: mp4开始点播确保MediaSource注册后再返回 2021-12-17 22:33:08 +08:00
alexliyu7352
0d5ef99724
http客户端支持简单验证协议 (#1289)
* 加速track的准备速度

* 重命名为isAllTrackReady

* 无须缓冲帧时,暂不用转换为可缓存帧

* 支持简单验证协议

* 优化代码

Co-authored-by: 夏楚 <771730766@qq.com>
2021-12-17 17:48:05 +08:00
alexliyu7352
0b2e55429d
HLS: 加速track就绪速度 (#1286)
* 加速track的准备速度

* 重命名为isAllTrackReady

* 无须缓冲帧时,暂不用转换为可缓存帧

Co-authored-by: 夏楚 <771730766@qq.com>
2021-12-17 14:47:17 +08:00
ziyue
5e2967d94a HLS: 合并hls m3u8刷新延时相关pr(#1281) 2021-12-17 11:40:54 +08:00
Alex
0c1159959c 拉去hls索引文件时, 不能仅仅只是按照m3u8文件中的分段时间来拉取, 这样在网络延迟的情况下很容易出现问题, 根据规范与ffmpeg中的实现修改如下 2021-12-17 02:04:28 +08:00
ziyue
120879df0f HTTP-FMP4: 修复http-fmp4直播秒开问题 2021-12-16 17:46:03 +08:00
ziyue
4291c31493 FMP4: http-fmp4直播提升流畅度 2021-12-16 12:09:49 +08:00
ziyue
f4b6a6bd40 MP4: 修复mp4解复用定时器精度太高时读取文件太快的bug 2021-12-16 10:50:31 +08:00
ziyue
b3dd440151 MP4Demuxer: MP4解复器支持获取track并添加frame输出回调 2021-12-15 20:51:26 +08:00
ziyue
283188bedb MP4Demuxer: 提高MP4解复用器接口灵活度 2021-12-15 20:50:35 +08:00
xiongguangjie
5bffc98541
hls 录像支持直播时移 (#1275)
* hls live record support seek

* 调整代码风格

Co-authored-by: 夏楚 <771730766@qq.com>
2021-12-15 16:43:49 +08:00
xiongguangjie
50c6c2513d
修复rtsp tcp 推送到 rtsp-simple-server 失败的问题, (#1274)
* for push rtsp  to rtsp-simple-server remeber annoce response sessionid and setup tcp add mode=record

* fix  push rtsp  to rtsp-simple-server over udp error add mode=record

* 优化代码

Co-authored-by: 夏楚 <771730766@qq.com>
2021-12-14 17:17:05 +08:00
Xiaofeng Wang
54367fef31
修正连 node ws 服务端失败问题 (#1262)
Fix #1251

参考: https://datatracker.ietf.org/doc/html/rfc6455#section-4.2.1
Sec-WebSocket-Key base64 解码后长度应该是 16 字节.
2021-12-08 14:17:34 +08:00
ziyue
e483424858 Refine: 删除无效代码 2021-12-01 22:14:28 +08:00
ziyue
c2b0f3c07b Refine: 修复hls播放器丢失首帧关键帧的问题 2021-12-01 22:09:05 +08:00
ziyue
8f60ec9900 Refine: 精简复用MediaSink相关代码 2021-12-01 21:38:31 +08:00
ziyue
84baf920c1 GB28181: ps解析失败触发断言时,丢弃所有数据 2021-12-01 17:02:06 +08:00
ziyue
78bcd9e868 Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-11-30 18:05:06 +08:00
ziyue
4700ab77de Feature: 新增转协议超时等相关配置项( #1241) 2021-11-30 18:04:43 +08:00
xiongziliang
8b24088ab1 Refine: h264 rtp encoder不再过滤sei、aud帧 2021-11-28 21:15:03 +08:00
ziyue
3a99440296 Refine: 优化代码,减少拷贝 2021-11-23 15:59:18 +08:00
xiongziliang
97f7255f0a Performance: 使用循环池优化rtmp分发性能 2021-11-21 11:34:20 +08:00
xiongziliang
5404a5266a Performance: 使用循环池优化http-flv分发性能 2021-11-21 11:28:14 +08:00
ziyue
0b79de9d13 MediaSource: 禁止重复推送一个已经注册的流 2021-11-19 15:33:16 +08:00
ziyue
afdc5e4267 Refine: 优化tcp/udp服务器异常管理断开机制 2021-11-19 15:26:33 +08:00
ziyue
b13a0f5b79 Splitter: 全局限制内存使用量,防止内存溢出 2021-11-19 11:27:27 +08:00
ziyue
0281cb6a11 GB28181: 修复tcp推流时,流异常可能导致死循环的bug 2021-11-19 11:09:55 +08:00
xiongziliang
a5fc3b04d3 Refine: 删除多余代码 2021-11-13 00:31:32 +08:00
xiongziliang
b0343acf8c Refine: 提炼精简代码 2021-11-13 00:24:38 +08:00
ziyue
56b7a8a97b Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-11-10 15:30:57 +08:00
ziyue
ac41a1e933 RtmpPlay: 兼容无metadata的rtmp流 2021-11-10 15:25:24 +08:00
Xiaofeng Wang
9aaf3ce2ff
优先使用静态 payload type 值 (#1206) 2021-11-10 14:45:37 +08:00
ziyue
e51a78ebdc MediaSink: 确保收到数据后才触发TrackReady回调 2021-11-10 14:35:37 +08:00
ziyue
1513e9a857 Revert "忽略某些流声明存在却没实质数据的track"
This reverts commit b42072405e.
2021-11-10 14:18:55 +08:00
ziyue
6f92ef2f3b PlayerProxy: 减少一次MediaSink数据过滤,提高性能 2021-11-10 13:56:58 +08:00
ziyue
b7e187d7af Player: 添加kWaitTrackReady选项决定播放器是否等待所有track ready再回调 2021-11-10 13:56:04 +08:00
ziyue
e38f2253ff Demuxer: 解复用减少一次MediaSink的数据过滤 2021-11-10 13:44:29 +08:00
ziyue
2a8a6cac27 Refine: 优化MultiMediaSourceMuxer创建代码 2021-11-10 12:48:13 +08:00
ziyue
b892ac346f MediaSink: 优化静音音频相关逻辑性能 2021-11-10 12:41:06 +08:00
ziyue
1ce841ce42 MediaSink: 修复静音音频添加逻辑bug 2021-11-10 12:04:32 +08:00
ziyue
817542cd0c Mutex: 删除一些不必要的互斥锁 2021-11-10 11:38:54 +08:00
ziyue
143979f354 Stamp: 兼容时间戳跳跃的情况 2021-11-10 11:38:54 +08:00
ziyue
fdfde17ec7 Demuxer/Player: 修改解复用与播放器底层逻辑,确保触发播放成功回调时不丢帧 2021-11-10 11:38:54 +08:00
ziyue
37fdb8d135 MediaSource: 继承改成私有 2021-11-10 11:38:54 +08:00
ziyue
ded5d83e04 MediaSink: 静音音频确保最后添加 2021-11-10 11:38:54 +08:00
ziyue
dad0c5e3cc MediaPusher: 抽象精简代码 2021-11-09 17:49:18 +08:00
ziyue
b96a2291eb MediaPusher: 整理代码风格 2021-11-09 15:45:31 +08:00
ziyue
b42072405e 忽略某些流声明存在却没实质数据的track 2021-10-28 10:53:07 +08:00
ziyue
5d56e86cfd 修复Windows上strptime不存在编译失败的问题 2021-10-27 17:14:16 +08:00
ziyue
e249a03dc2 修复调用stopSendRtp接口无法触发无人观看事件的bug:#1189 2021-10-27 13:40:59 +08:00
ziyue
350a0e3f81 防止内存越界 2021-10-27 13:26:53 +08:00
ziyue
0a3bcdab15 Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-10-27 13:24:28 +08:00
ziyue
b438ecb88c 兼容不规范的aac rtsp推流 2021-10-27 13:23:27 +08:00
Dw9
bb9695a247
解决win32下大文件点播不了问题 (#1188) 2021-10-26 20:35:55 +08:00
ziyue
cd52a022f4 修复rtsp点播时长不准的bug 2021-10-25 19:39:45 +08:00
ziyue
fcfa13b0fe 适配最新zltoolkit 2021-10-22 16:43:34 +08:00
夏楚
19ebb03458
media-server使用原仓库并适配 (#1180)
* remote media-server

* 适配第三方库media-server使用原仓库

* ireader/media-server库使用gitee镜像

Co-authored-by: monktan <monktan@tencent.com>
2021-10-22 14:16:39 +08:00
ziyue
4067f2beb6 ps rtp推流接口(startSendRtp)支持推送本地mp4录像 2021-10-21 10:21:52 +08:00
ziyue
a25e1d6021 解决获取mp4录像文件大小不准的问题:#1173 2021-10-20 18:14:20 +08:00
ziyue
b4327b9b18 获取文件大小功能移至zltoolkit 2021-10-20 18:09:37 +08:00
ziyue
0e0608dc27 兼容dts时间戳回退导致录像切片异常的问题 2021-10-20 17:38:11 +08:00
ziyue
2422285829 修改mp4录制相关代码风格 2021-10-20 17:37:19 +08:00
ziyue
93c6754fc4 兼容一些不规范的rtsp流 2021-10-20 11:54:05 +08:00
ziyue
cf1adf1c92 兼容一些不规范的rtsp流 2021-10-20 10:58:05 +08:00
ziyue
8aa2d0ce07 add RTC_SCHEMA macros 2021-10-19 15:22:48 +08:00
ziyue
74aa2ba07f 修复GB28181推流显示设备端口错误的问题:#1160 2021-10-16 17:32:20 +08:00
ziyue
488026c0b8 删除多余代码 2021-10-16 16:58:13 +08:00
ziyue
f5f58196b5 修改常量命名 2021-10-16 16:58:03 +08:00
ziyue
8769ea83a9 修复关闭hls相关功能时编译报错问题 2021-10-16 16:56:59 +08:00
ziyue
b10fc52384 CHECK宏支持自定义错误提示 2021-10-16 16:24:40 +08:00
Johnny
722097be05 调整 RtspSession::_push_src类型,统一为 RtspMediaSource::Ptr _push_src; 2021-10-15 18:25:06 +08:00
ziyue
a408197493 Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-10-15 14:12:41 +08:00
Xiaofeng Wang
fe450ba2cb
支持生成 sdp 时指定端口 (#1161) 2021-10-15 14:10:04 +08:00
Xiaofeng Wang
2a2597a874
初始化内存 (#1162) 2021-10-15 14:09:32 +08:00
ziyue
702c505a17 合并pr:#1158 2021-10-15 11:21:10 +08:00
Johnny
22c68a297e 调整 RtcpContext 成员函数 2021-10-15 11:21:10 +08:00
Johnny
f64129177e 调整 RtcpContext 成员变量 2021-10-15 11:21:10 +08:00
Johnny
c98e85caec 增加 RtcpContextForSend/RtcpContextForRecv作为RtcpContext子类 2021-10-15 11:21:10 +08:00
ziyue
76ae292ae7 防呆设计 2021-10-13 20:56:22 +08:00
ziyue
dd81497e5c 修复rtp pts 时间戳回退导致ntp时间戳计算异常的bug:#1152 2021-10-13 15:52:12 +08:00
xiongziliang
ea1fa03f13 修复twcc fci生成相关bug 2021-10-07 15:39:02 +08:00
xiongziliang
0ae1d46892 基本完成twcc rtcp fci的生成 2021-10-07 12:28:59 +08:00
xiongziliang
e02bc9ce67 修复twcc StatusVecChunk生成相关bug 2021-10-07 12:26:16 +08:00
xiongziliang
dbc377a1f9 初步添加twcc rtcp发送逻辑 2021-10-06 22:42:17 +08:00
ziyue
15edbeac3e 整理http相关代码 2021-09-30 16:10:09 +08:00
夏楚
a548fcd709
Feature/dev (#1143)
* 防止每次cmake后导致重复编译
2021-09-30 11:27:42 +08:00
haorui wang
adc6f652bd
修复zlm推流FMS,修正zlm的RTMP协议 (#1140)
* 修复zlm推流FMS,修正zlm的RTMP协议
Co-authored-by: 夏楚 <771730766@qq.com>
2021-09-29 16:57:19 +08:00
xiongziliang
4ff206fa42 兼容一些不规范的rtsp sdp: #1128 2021-09-29 01:16:52 +08:00
xiongziliang
892e151063 响应http head命令后不关闭socket:#1136 2021-09-29 00:46:09 +08:00
xiongziliang
8d2d1e135c 修改rtsp点播ntp时间戳 2021-09-29 00:25:34 +08:00
xiongziliang
b1666eb651 实现媒体源pause/speed接口:#1129 2021-09-29 00:16:56 +08:00
xiongziliang
507eadf20b Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-09-28 22:49:59 +08:00
xiongziliang
7d1b2583e6 优化代码 2021-09-28 22:44:02 +08:00
xiongziliang
305d9bc259 完善twcc rtcp包相关代码 2021-09-28 22:44:02 +08:00