Commit Graph

295 Commits

Author SHA1 Message Date
ziyue
e88281b2ff 删除无效代码 2021-06-08 14:49:48 +08:00
xgj
0f3a8f4a9d fix webrtc to rtmp multi slice on frame error 2021-06-07 17:32:28 +08:00
xia-chu
e021279fab 修复"Too short data for FU-A H.264 RTP packet"的问题 2021-04-28 16:07:01 +08:00
xia-chu
514a028eac 修复fu-a打包时,无rtp负载的情况 2021-04-28 16:03:05 +08:00
xia-chu
cf520491fa Merge branch 'master' of https://gitee.com/xia-chu/ZLMediaKit into dev 2021-04-26 19:50:17 +08:00
xia-chu
af2b1246fd 统一帧合并逻辑 2021-04-26 18:35:01 +08:00
xia-chu
880b9139b0 性能优化 2021-04-15 19:46:45 +08:00
xia-chu
d76c38ef72 调整264 rtp打包逻辑 2021-04-15 19:40:17 +08:00
xia-chu
9d385b36fd 优化多slice情况下关键帧判断逻辑 2021-04-15 19:40:17 +08:00
xgj
3150ccdb70 add some comment 2021-04-15 14:08:25 +08:00
Your Name
bffee09639 fix more slice nal one frame result rtp mark error and sps pps rtp not has a mark 2021-04-15 13:54:03 +08:00
xgj
6e4dfaf53f fix webrtc h264 rtp Packetizer error 2021-04-15 00:15:41 +08:00
xiongziliang
753fe05813 采用pts 2021-04-11 12:07:04 +08:00
ziyue
33d2e71368 合并代码,去除冗余代码 2021-04-02 16:23:40 +08:00
xiongziliang
2434470fb8 G711强制规格 2021-04-01 22:20:29 +08:00
xiongziliang
075756c4c6 提升兼容性:#789 2021-04-01 21:46:02 +08:00
ziyue
2065b6fea8 去掉最大枚举定义 2021-03-30 11:51:19 +08:00
ziyue
a7a94f0885 sdp相关的代码移动到主目录 2021-03-30 10:59:15 +08:00
xiongziliang
81f29fea61 基本完成sdp的解析和生成 2021-03-28 18:10:43 +08:00
xiongziliang
8aa3ff425b 完善sdp相关定义 2021-03-27 22:23:38 +08:00
ziyue
c5b0485519 修复sps太长生成sdp异常的问题 2021-03-18 16:10:46 +08:00
xiongziliang
fb3603b433 兼容一些不规范的流 2021-02-28 20:58:30 +08:00
xia-chu
75d97b9221 优化H264 rtp相关代码 2021-02-07 18:29:48 +08:00
xia-chu
14b318525e 添加rtp rtmp个数统计 2021-02-06 20:10:33 +08:00
xia-chu
62ba87dd0f 优化frame性能及整理代码 2021-02-06 20:10:33 +08:00
xia-chu
52480717e3 p帧时间戳异常时确保rtmp播放正常:#724 2021-02-06 20:10:32 +08:00
xia-chu
bc6286553a 优化rtmp性能 2021-02-06 20:10:31 +08:00
xiongziliang
070bf19cb5 重写rtp框架 2021-01-31 20:03:51 +08:00
xiongziliang
629c39685b rtp打包添加mark位:#713 2021-01-31 19:18:20 +08:00
xiongziliang
837597e162 防止可能内存越界的问题 2021-01-31 18:25:12 +08:00
xiongziliang
aa45590c13 添加对象统计接口 2021-01-23 09:44:37 +08:00
xiongziliang
291caf537a H265 rtp支持聚合包 2021-01-23 09:43:16 +08:00
xia-chu
f63b2b1863 去除编译警告,修复bug 2021-01-19 16:05:38 +08:00
xia-chu
b6cbc87712 全面整理代码,去除编译警告 2021-01-17 18:31:50 +08:00
xiongziliang
4cae88e242 调整代码 2021-01-17 10:28:52 +08:00
Liu Jiang
d270a78089 getTrackType和getCodecName函数适配L16 2020-12-26 16:01:08 +08:00
Liu Jiang
525949c362 将CodecL16放置到enum最后,防止兼容性问题 2020-12-26 16:00:35 +08:00
Liu Jiang
66a3b7a9ca RTSP推流增加L16动态payload type支持(RFC 3551 Section 4.5.11, RFC 2586) 2020-12-26 15:08:01 +08:00
xiongziliang
55cf411c1e 支持bitrate 2020-12-05 12:22:17 +08:00
xiongziliang
ba7251f345 修复偶尔获取H265宽高失败的问题 2020-11-07 17:45:16 +08:00
xiongziliang
bad419e41f 修复cts小于0的问题 2020-11-07 17:44:30 +08:00
xiongziliang
700a16c759 大幅提升接收推流性能以及降低内存占用 2020-11-01 03:41:35 +08:00
xiongziliang
fd898254f2 修复fu rtp打包的bug 2020-10-24 23:29:21 +08:00
xiongziliang
efdc105b40 减少内存拷贝,提升性能 2020-09-21 14:56:58 +08:00
xiongziliang
898c6ff24f 修复mark bit相关错误 2020-09-12 19:13:58 +08:00
xiongziliang
aff9963f95 兼容某些多帧粘合在一起的流 2020-09-12 19:06:26 +08:00
Zhou Weimin
01284323eb 忽略AUD帧; 2020-09-12 13:45:16 +08:00
xiongziliang
0878f776b3 修复某些场景下rtmp定位关键帧不准确的bug 2020-09-06 18:22:04 +08:00
xiongziliang
faa8786f8f 兼容一些奇怪的流 2020-09-06 17:56:26 +08:00
xiongziliang
9bfbe02f73 添加最大帧长度参数 2020-09-06 17:50:24 +08:00
xiongziliang
fbd711a6bb 整理代码 2020-08-30 10:48:34 +08:00
xiongziliang
b3f048f194 修复adts符合包相关bug 2020-08-08 12:19:04 +08:00
xiongziliang
873f8bc5ac 精简代码 2020-08-08 12:18:02 +08:00
xiongziliang
30bbbd2e2f 修复缓存不够导致获取vps/sps/pps失败的问题 2020-08-08 12:12:46 +08:00
xiongziliang
a93e3a395e 添加bom头 2020-08-01 10:24:28 +08:00
xiongziliang
a22f97c777 rtsp/rtmp/mp4支持opus并整理代码 2020-08-01 10:22:12 +08:00
xiongziliang
4d82d0ffdf 修复丢失小帧的bug 2020-08-01 10:17:09 +08:00
xiongziliang
3acfb15c99 完善H264 rtp解包打包相关代码 2020-07-26 19:56:39 +08:00
xiongziliang
c0fde62480 完善aac rtp解析 2020-07-24 20:10:47 +08:00
xiongziliang
4281a1272e Merge remote-tracking branch 'origin/master' 2020-07-24 20:04:53 +08:00
xiongziliang
a44a63423c 解决rtsp推流,aac时间戳增量太大导致flv.js播放异常的问题:#392 2020-07-24 20:03:35 +08:00
Zhou Weimin
04840742cf 修复rtsp拉流rtp FU-A最后一个分片size为0的问题;#424 2020-07-19 07:21:18 +00:00
xiongziliang
c31b0cc26b H264Track不过滤SEI: #411 2020-07-16 16:26:13 +08:00
xiongziliang
bc5931dce9 修复G711生成RTP类型无效的bug 2020-07-09 11:15:01 +08:00
xiongziliang
d2c052a673 优化代码逻辑 2020-06-30 21:11:59 +08:00
xiongziliang
9e42772b48 rtmp aac config包没有负载 2020-06-30 21:08:52 +08:00
xiongziliang
29077dcef4 rtmp播放成功时确保aac track处于ready状态 2020-06-30 21:00:45 +08:00
xiongziliang
038979b716 修改rtmp metadata codec由字符为整形,兼容比较老的rtmp服务器 2020-06-28 21:49:08 +08:00
xiongziliang
efa92752c7 完善对高规格aac的支持 2020-06-11 19:21:46 +08:00
xiongziliang
b9006a90d4 优化rtmp推流时,aac config获取不完整的bug 2020-06-11 17:40:09 +08:00
xiongziliang
0e47dc94f9 aac config不再限制两个字节:#336 2020-06-11 17:19:10 +08:00
xiongziliang
41509800bc 完善对无metadata的rtmp流的兼容性 2020-05-28 17:03:12 +08:00
xiongziliang
53ca43fb7d 提高性能 2020-05-26 21:04:53 +08:00
xiongziliang
7b90daab24 修复h264/h265 prefixSize计算错误的bug 2020-05-26 17:00:51 +08:00
xiongziliang
c20a1337a5 完善rtp丢包日志 2020-05-25 14:28:02 +08:00
xiongziliang
893564d0be 修复拼写错误 2020-05-25 13:51:00 +08:00
xiongziliang
51a86f502f 完善h264帧split逻辑 2020-05-21 14:10:55 +08:00
xiongziliang
477475a60f 批量添加bom头、批量替换tab字符 2020-05-18 15:31:49 +08:00
xiongziliang
bab11b426e hls播放器通过测试 2020-05-17 19:06:14 +08:00
xiongziliang
cf599167c1 修复指针转换偏移量导致的bug 2020-05-15 21:48:29 +08:00
xiongziliang
be9e31bba2 修复指针转换偏移量导致的bug 2020-05-15 21:39:06 +08:00
xiongziliang
1970f6014e 优化音视频同步 2020-05-15 18:08:54 +08:00
xiongziliang
d27a8117e1 mp4录制支持opus 2020-05-12 11:48:15 +08:00
xiongziliang
4ab270ca10 精简代码 2020-05-11 23:43:28 +08:00
xiongziliang
6356ffcb4f 隐藏细节代码 2020-05-11 23:34:57 +08:00
xiongziliang
70e9a20352 精简aac相关代码 2020-05-11 23:25:12 +08:00
xiongziliang
625d7e30c0 整理和精简代码 2020-05-11 22:33:10 +08:00
xiongziliang
920f06a996 AAC sdp添加通道数 2020-04-30 13:35:38 +08:00
xiongziliang
b649372873 修复split 264/265相关逻辑的bug 2020-04-30 10:00:55 +08:00
xiongziliang
9d9f6e304e 完善dts计算算法 2020-04-29 18:05:29 +08:00
xiongziliang
4fbd45e408 h265新增支持两种类型的关键帧 2020-04-29 10:01:56 +08:00
xiongziliang
163b0875cf 修复h264 split后可能多个字节的bug 2020-04-28 22:24:31 +08:00
xiongziliang
75cc34814f 保证不丢帧 2020-04-26 15:19:32 +08:00
xiongziliang
2e3cee09bb hls/mp4录像/mp4点播/ts解析/ps解析初步支持G711 2020-04-23 15:19:20 +08:00
xiongziliang
3efda8fd0b 根据playload type生成track 2020-04-18 23:00:48 +08:00
xiongziliang
bacf8f100b G711支持多种规格 2020-04-18 22:13:11 +08:00
xiongziliang
5c3418a412 合并 #278 2020-04-18 18:46:20 +08:00
baiyfcu
40afa204d5 增加rtmp/rtsp对音频G711A,G711U的支持 2020-04-17 17:47:10 +08:00
baiyfcu
340629cdc6 添加对g711A/U rtsp支持相关文件,api添加windows静态库编译选项,g711 RTMP支持尚未修改 2020-04-08 15:42:52 +08:00
xiongziliang
1896b1d768 优化代码 2020-04-06 21:44:32 +08:00
xiongziliang
45c5f1ec4c 避免死锁 2020-04-06 21:23:35 +08:00
xiongziliang
070c2c46d7 完善代码 2020-04-04 23:13:10 +08:00
xiongziliang
c25307a105 新增H265 rtmp支持 2020-04-04 22:55:06 +08:00
xiongziliang
83400290a8 整理rtmp相关代码 2020-04-04 22:54:49 +08:00
xiongziliang
7019e4717c 整理授权协议 2020-04-04 20:30:09 +08:00
xiongziliang
1ca81e39fe 提高H264点播兼容性 2020-04-03 23:03:47 +08:00
xiongziliang
46be8a38e7 重写MP4点播 2020-04-03 20:45:58 +08:00
xiongziliang
c145f5f8ba 修复#247 2020-03-26 17:12:21 +08:00
xiongziliang
1168174c2b tab统一替换为4个空格键:#242 2020-03-20 11:51:24 +08:00
xiongziliang
1c14239d89 修复编译问题 2020-03-13 18:34:12 +08:00
xiongziliang
2b592780ad 修复aac rtp解包内存越界的bug 2020-03-11 18:52:28 +08:00
xiongziliang
b3554fb721 消除编译警告 2020-03-09 16:04:34 +08:00
xiongziliang
10884340b0 优化rtp推流相关代码 2020-03-08 21:19:20 +08:00
liuziloong
2384aa5bbd MP4录像增加一级目录,按照:年月/年月日/*.mp4存储;
增加按月,按天查询mp4录像;
消除一处编译器警告;
2020-01-20 15:02:45 +08:00
xiongziliang
2610ba7c8b 修复rtmp注册时还未生成完整config包的bug 2020-01-15 11:46:15 +08:00
xiongziliang
0a4b59031f 及时推拉流也能确保第一帧为关键帧 2020-01-14 19:41:55 +08:00
xiongziliang
9fa6e9d8d9 添加dts生成算法,兼容含B帧的rtsp推流 2020-01-14 10:04:24 +08:00
xiongziliang
66ec67bfb9 1、修复生成的rtmp无法被flash播放的问题
2、修复RTSP有B帧时,相对时间戳计算异常的问题
2020-01-13 11:51:29 +08:00
xiongziliang
57c5d2963a 优化DevChannel内存拷贝问题 2020-01-08 12:14:27 +08:00
xiongziliang
761a665b1b 删除冗余设计 2019-12-26 09:43:44 +08:00
xiongziliang
d59a706cc1 简化代码 2019-12-25 20:07:42 +08:00
xiongziliang
6e59000265 修复过滤多余帧类型导致的bug 2019-12-13 15:42:58 +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
5249c24430 整理MediaSource代码 2019-12-03 16:10:02 +08:00
xiongziliang
c55f26fba7 整理MediaSink 2019-12-03 12:32:57 +08:00
xiongziliang
54f2c0b53c 兼容一些奇怪sdp的rtsp url 2019-11-21 16:31:50 +08:00
xiongziliang
e7bd5a4174 兼容一些奇怪的sdp 2019-11-21 15:11:43 +08:00
xiongziliang
68d29ba025 rtsp忽略无效的aac track 2019-10-14 16:52:15 +08:00
xiongziliang
ba71bac475 提升sdp解析兼容性 2019-10-08 09:55:59 +08:00
xiongziliang
b1c8b24d18 提升sdp兼容性 2019-10-08 09:45:43 +08:00
xiongziliang
e5cb5c56a1 提升sdp解析兼容性 2019-10-08 09:44:08 +08:00
xiongziliang
eb12bc7397 提升sdp解析兼容性 2019-10-08 09:39:54 +08:00
xiongziliang
86fcf69f81 提高rtsp对H264编码的sdp的兼容性 2019-09-25 22:16:35 +08:00
xiongziliang
cb7c72d9d9 修正metadata拼写错误,优化RtmpMediaSource注册机制,修复及时拉流不出画面的bug 2019-09-23 16:47:20 +08:00
zqsong
005db3cbc5 修复推送H265的时候,每一帧都split导致耗时过长 2019-09-09 10:44:34 +08:00
xiongziliang
47cb4b8edc 完善rtp打包 2019-09-06 23:23:43 +08:00
xiongziliang
203edc5cec 完善rtp打包 2019-09-06 23:22:04 +08:00
xiongziliang
39e3c89848 rtp打包减少一次内存拷贝 2019-09-06 15:16:22 +08:00
xiongziliang
d8de1e226c 完善对H265的sdp兼容性 2019-09-05 14:56:33 +08:00
xiongziliang
3c4d7498bc 完善兼容性 2019-08-30 16:56:57 +08:00
3503207480@qq.com
036b36f012 注释,说明
注释,说明
2019-08-30 11:17:27 +08:00
xiongziliang
fa60a3c1d8 添加mac版本二进制文件 2019-08-19 14:59:56 +08:00
xiongziliang
7c7b9e560e 统一添加bom 2019-08-08 19:01:45 +08:00
xiongziliang
2020e23437 兼容某些不规范的sdp 2019-08-06 16:23:20 +08:00
xiongziliang
36ed78ba1f 规范函数命名 2019-08-02 13:51:24 +08:00
xiongziliang
dd80d6a6bb Merge branch 'dev' of https://github.com/zqsong/ZLMediaKit into zqsong 2019-08-02 13:40:15 +08:00
zqsong
0d57664fac 完善H265 sps解析,统一命名风格 2019-08-02 10:46:16 +08:00
xiongziliang
383a14a76d 重新mp4录制 2019-08-01 18:49:04 +08:00
xiongziliang
12e1068a39 Merge branch 'master' of https://github.com/xiongziliang/ZLMediaKit into zqsong 2019-08-01 14:53:59 +08:00