along
7131649779
Update HttpTSPlayer.cpp
...
保存http status返回值,在非200或206的情况下,不再进行数据判断。
2020-12-03 10:23:46 +08:00
xiongziliang
a64ce68592
解决单Track时,等待时间太长的问题
2020-11-29 09:38:04 +08:00
xiongziliang
a5b4da7db5
Merge branch 'master' of https://gitee.com/xia-chu/ZLMediaKit into open_src
2020-11-29 09:36:12 +08:00
xiongziliang
c4c978be44
去除编译警告
2020-11-29 09:34:02 +08:00
xiongziliang
e7569c8cbc
删除多余日志
2020-11-29 09:33:49 +08:00
sunhui
48788cf25b
解决RtpServer启动UDPServer收流造成崩溃问题
2020-11-28 02:39:21 +08:00
hewenyuan
50927548e9
增加多路RTP视频流输出
2020-11-27 17:19:55 +08:00
xiongziliang
f7433b0f90
头文件中隐藏不必要的宏,避免宏蔓延:#554
2020-11-21 22:39:32 +08:00
xiongziliang
408a678ade
修复编译问题:#584
2020-11-21 22:32:01 +08:00
xiongziliang
9c585ce5a1
http客户端,host字段添加port,防止异常:#579
2020-11-21 22:16:58 +08:00
xiongziliang
c512c1a02e
关闭vhost时,m3u8中ts文件不指定vhost:#560
2020-11-21 21:54:12 +08:00
xiongziliang
1cc3add97f
提升按需转协议性能与体验
2020-11-15 00:59:31 +08:00
xiongziliang
0f54351811
按需转协议默认关闭(意即一直转协议)
2020-11-15 00:43:42 +08:00
xiongziliang
bb9b39d821
添加按需转协议开关,默认一直转协议:#569
2020-11-15 00:40:46 +08:00
xiongziliang
ebbe124d00
修复不能立即关闭拉流代理的问题:#559
2020-11-15 00:00:22 +08:00
xiongziliang
3d8f015f5d
GB28181推流,无人观看时不解复用数据
2020-11-14 23:11:28 +08:00
xiongziliang
a93c57eb59
修复ehome推流相关bug: #549
2020-11-07 17:46:37 +08:00
xiongziliang
57a11f19dd
提高rtsp兼容性: #551
2020-11-07 17:45:58 +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
d957b6816a
rtp推流支持h264负载:#360
2020-11-01 22:27:44 +08:00
xiongziliang
d36e64eff4
提升性能
2020-11-01 21:33:42 +08:00
xiongziliang
700a16c759
大幅提升接收推流性能以及降低内存占用
2020-11-01 03:41:35 +08:00
xiongziliang
5c7a08eb7c
添加bom头
2020-10-24 23:37:43 +08:00
xiongziliang
b5a25793c4
修复rtp tcp推流情况下获取Origin相关失败的问题
2020-10-24 23:34:22 +08:00
xiongziliang
ab9a605a66
优化代码结构
2020-10-24 23:33:13 +08:00
xiongziliang
289e4f695a
校验rtp是否合法
2020-10-24 23:32:43 +08:00
xiongziliang
18459db8f1
支持ehome推流:#514
2020-10-24 23:32:23 +08:00
xiongziliang
38a002646d
修复FFmpeg拉流代理功能缺陷的问题:#533
2020-10-24 23:31:58 +08:00
xiongziliang
8cb564de0a
优化直播源类型说明
2020-10-24 23:31:22 +08:00
xiongziliang
bfdd02905c
重连时,注销直接拉流代理的流:#532
2020-10-24 23:30:25 +08:00
xiongziliang
dd2abd7924
修复拼写错误
2020-10-24 23:30:06 +08:00
xiongziliang
c5f1b4cd52
程序退出时清空RtpProcess对象
2020-10-24 23:29:44 +08:00
xiongziliang
fd898254f2
修复fu rtp打包的bug
2020-10-24 23:29:21 +08:00
xiongziliang
84784f21c4
优化性能
2020-10-24 23:28:56 +08:00
xiongziliang
02c4aa3f4b
优化代码
2020-10-24 23:28:25 +08:00
xiongziliang
44bb1ba5ef
rtp端口取偶数:#526
2020-10-20 10:38:31 +08:00
xiongziliang
130c411ae4
修复添加track太晚导致的bug: #528
2020-10-20 10:21:35 +08:00
xiongziliang
b7d6442870
tcp情况下,rtp长度不得超过2K,防止发送端存在缓存覆盖的bug
2020-10-18 23:05:24 +08:00
xiongziliang
e3364e9029
优化代码
2020-10-18 21:39:22 +08:00
xiongziliang
51fcaeda4c
更新第三方库
2020-10-18 21:33:36 +08:00
xiongziliang
fcf641dfb6
优化rtp排序算法
2020-10-17 14:46:59 +08:00
xiongziliang
2965248346
修复std::move后智能指针无效的问题
2020-10-10 18:44:48 +08:00
xiongziliang
209689121a
消除编译警告
2020-10-10 18:36:29 +08:00
xiongziliang
dfaa8b540c
使用临时变量和std::move减少智能指针的拷贝构造
2020-10-10 18:23:25 +08:00
xiongziliang
4d39176877
重写rtp排序算法:#510
2020-10-01 21:33:07 +08:00
xiongziliang
bc36e000b3
提炼rtp排序算法
2020-10-01 19:02:14 +08:00
xiongziliang
a1de3bfd30
添加流创建时间、在线时间
2020-10-01 18:57:15 +08:00
xiongziliang
cd27e5a9f9
注意!hls mp4录制的customized path字段改成录制根目录 相当于配置文件中hls mp4录制根目录相关设置
2020-10-01 14:55:34 +08:00
xiongziliang
728dd3ec3c
合并pr:#509
2020-10-01 14:53:15 +08:00
xiongziliang
eccb1a664c
Merge branch 'dev' of https://github.com/chatop2020/ZLMediaKit
2020-10-01 13:39:19 +08:00
xiongziliang
7f3877e437
添加网速统计功能
2020-10-01 11:02:00 +08:00
qiuzhouwei
4132df89cd
增加了服务器id,修改了record.cpp中mp4录制的自定义录制路径,ffmpegsource中的超时时间,webhook中的唯一id等
2020-09-28 10:45:59 +08:00
xiongziliang
bae52db6ba
修复关闭某些功能后,编译失败的问题
2020-09-27 16:54:55 +08:00
xiongziliang
5cd8e8ae1c
添加媒体生成源信息
2020-09-27 11:32:49 +08:00
xiongziliang
4f42f508d5
复用代码
2020-09-26 09:39:38 +08:00
xiongziliang
efdc105b40
减少内存拷贝,提升性能
2020-09-21 14:56:58 +08:00
xiongziliang
416d21df36
返回值去除std::move
2020-09-21 14:32:56 +08:00
xiongziliang
08a5891bdc
修复url解析相关bug
2020-09-20 20:15:39 +08:00
xiongziliang
016ca9465f
添加bom头
2020-09-20 19:50:08 +08:00
xiongziliang
d971eccf92
新增支持HTTP-fMP4 WebSocket-fMP4直播
2020-09-20 19:45:37 +08:00
xiongziliang
4ce1a25f09
修复MP4解复用时不写入adts头的问题
2020-09-20 19:45:21 +08:00
xiongziliang
071d0a9fd1
提炼MP4相关接口和代码
2020-09-20 19:45:04 +08:00
xiongziliang
2dd1046131
合并fmp4和mov接口
2020-09-20 19:44:20 +08:00
xiongziliang
d3cb0e3d39
ts直播源注销时关闭播放器
2020-09-20 00:57:34 +08:00
xiongziliang
2d0cf5cdd9
解决http-ts直播与hls直播冲突的问题
2020-09-20 00:55:22 +08:00
xiongziliang
c76930e3cd
支持http-ts/websocket-ts直播
2020-09-20 00:21:46 +08:00
xiongziliang
f84981dc75
合并pr(添加录制ts完成通知): #479
2020-09-20 11:40:42 +08:00
xiongziliang
0fce108de5
Merge branch 'feature/on-record-ts' of https://github.com/wasphin/ZLMediaKit into pr
2020-09-20 11:01:45 +08:00
xiongziliang
5104252474
修复HLS直播结束后,最后一个切片无法写入的问题
2020-09-20 10:56:54 +08:00
xiongziliang
100af97d51
修复死锁问题:#486
2020-09-20 10:43:25 +08:00
xiongziliang
07ef417250
优化HLS直播相关代码
2020-09-20 10:13:15 +08:00
xiongziliang
9c873e1d19
去除转协议开关参数
2020-09-20 09:26:00 +08:00
wxf
748bb8e488
统一 mp4 及 ts 录像信息定义
2020-09-15 19:09:26 +08:00
wxf
b22a6e3dbd
添加 ts 切片是否通知选项, 默认为不通知
2020-09-15 17:46:12 +08:00
wxf
188e087fc2
添加 hls ts 切片录制完成通知
2020-09-14 13:20:45 +08:00
wxf
a024c51536
修正警告: moving a local object in a return statement prevents copy elision
...
https://www.viva64.com/en/w/v828/
编译器会对返回本地变量优化([Named] Return Value Optimization (RVO/NRVO)),
无论是 C++11 之前还是之后, 添加 move 后反而会影响该优化.
C++ Core Guidelines F.48: Do not return std::move(local)
2020-09-13 11:07:19 +08:00
xiongziliang
9b305bd4ae
优化HLS播放个数统计
2020-09-12 21:27:34 +08:00
xiongziliang
d26b751273
修复hls播放器流量统计不准确的bug
2020-09-12 20:52:53 +08:00
xiongziliang
1e1b3794da
HLS切片间隔以数据时间戳为准:#463
2020-09-12 20:49:00 +08:00
xiongziliang
1b9550cfc4
修复HLS按需生成相关bug
2020-09-12 20:42:58 +08:00
xiongziliang
3b5053af50
修复关闭HLS后,编译失败的问题
2020-09-12 19:46: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
898c6ff24f
修复mark bit相关错误
2020-09-12 19:13:58 +08:00
xiongziliang
9e26a02fb1
实现rtsp/rtmp按需转协议功能
2020-09-12 19:09:56 +08:00
xiongziliang
aff9963f95
兼容某些多帧粘合在一起的流
2020-09-12 19:06:26 +08:00
xiongziliang
c711eedaa7
适配ZLToolKit代码,支持自定义创建Socket:#468
2020-09-12 19:03:52 +08:00
xiongziliang
9a088f4825
提高PSRtpSender对象的线程安全性
2020-09-12 18:53:51 +08:00
xiongziliang
dc192c95fc
优化hls播放速度
2020-09-12 18:53:16 +08:00
Zhou Weimin
01284323eb
忽略AUD帧;
2020-09-12 13:45:16 +08:00
qingci
299b988ed1
Update MultiMediaSourceMuxer.cpp
...
{fix} fix _ps_rtp_sender not found in MultiMediaSourceMuxer.cpp [compile problem]
2020-09-10 19:28:30 +08:00
xiongziliang
9c96f8d31a
确保PSRtpSender对象的线程安全
2020-09-06 21:09:19 +08:00
xiongziliang
0878f776b3
修复某些场景下rtmp定位关键帧不准确的bug
2020-09-06 18:22:04 +08:00
xiongziliang
51ae8d4083
复用忽略协议查找流的相关代码
2020-09-06 18:19:54 +08:00
xiongziliang
599e8493ca
添加utf8-bom头
2020-09-06 18:09:31 +08:00
xiongziliang
e7ac7fd5f9
优化HLS平滑播放逻辑
2020-09-06 17:56:45 +08:00
xiongziliang
faa8786f8f
兼容一些奇怪的流
2020-09-06 17:56:26 +08:00
xiongziliang
09e484794b
实现ps-rtp的发送 #366
2020-09-06 17:56:05 +08:00
xiongziliang
ac70597216
优化getTrack接口相关代码
2020-09-06 17:54:52 +08:00
xiongziliang
28262b158f
优化性能
2020-09-06 17:53:22 +08:00
xiongziliang
16e21e0205
修复直接拉流代理时有些事件不生效的bug
2020-09-06 17:52:57 +08:00
xiongziliang
636068b2b8
精简代码,改善代码结构
2020-09-06 17:52:33 +08:00
xiongziliang
eca9236955
优化与拦截代码
2020-09-06 17:52:07 +08:00
xiongziliang
74d6689a65
rtp解包采用自有代码
2020-09-06 17:51:21 +08:00
xiongziliang
9fa2221a79
整理代码
2020-09-06 17:51:00 +08:00
xiongziliang
9bfbe02f73
添加最大帧长度参数
2020-09-06 17:50:24 +08:00
xiongziliang
84cfe66da0
修复由于音视频同步导致时间戳回退的问题
2020-08-30 09:15:39 +08:00
xiongziliang
29fcf3eb3b
完善代码
2020-08-30 09:15:02 +08:00
xiongziliang
aedb1a8866
修复hls无人观看事件不触发的bug
2020-08-30 09:14:45 +08:00
xiongziliang
a7e99b9d37
整理代码
2020-08-30 11:40:03 +08:00
xiongziliang
fbd711a6bb
整理代码
2020-08-30 10:48:34 +08:00
xiongziliang
4255914613
ts打包过滤没有adts头的aac:#453
2020-08-23 17:57:30 +08:00
xiongziliang
0456cee336
修复添加aac静音前缀未设置的问题
2020-08-15 09:51:31 +08:00
xiongziliang
62da32477e
ps rtp推流支持4个字节的头
2020-08-15 09:48:27 +08:00
xiongziliang
f23e117751
MultiMediaSourceMuxer默认能处理大部分事件
2020-08-08 12:20:13 +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
0087f50aaa
修复rtp组播性能问题
2020-08-08 12:17:43 +08:00
xiongziliang
2fd567b8b0
1、ws-flv直播支持客户端主动关闭请求:#430
...
2、兼容CONTINUATION类型的websocket包
3、修复websocket客户端在处理Content-Length时的相关bug
2020-08-08 12:17:06 +08:00
xiongziliang
e7e8969b4f
ps解析添加外部缓存
2020-08-08 12:13:35 +08:00
xiongziliang
30bbbd2e2f
修复缓存不够导致获取vps/sps/pps失败的问题
2020-08-08 12:12:46 +08:00
xiongziliang
47cc97f696
修复rtmp增长时间戳相关问题
2020-08-04 11:10:40 +08:00
xiongziliang
a9b0ca9cdd
hls支持opus
2020-08-01 20:56:34 +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
b4a3b608ab
修复rtmp增长时间戳相关bug
2020-08-01 10:20:27 +08:00
xiongziliang
4d82d0ffdf
修复丢失小帧的bug
2020-08-01 10:17:09 +08:00
xiongziliang
c7225dffbc
整理rtsp客户端代码
2020-08-01 10:14:42 +08:00
xiongziliang
5d436d0a1f
修复websocket服务端收到close请求后未断开连接的问题:#430
2020-08-01 10:13:42 +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
7254c39fc2
rtsp推流采用相对时间戳,防止音视频不同步:#392
2020-07-16 16:36:26 +08:00
xiongziliang
c31b0cc26b
H264Track不过滤SEI: #411
2020-07-16 16:26:13 +08:00
xiongziliang
f84b3d90b4
流未找到事件中,可以立即返回播放失败: #417
2020-07-16 16:00:31 +08:00
xiongziliang
85f28ce1f0
修复seq溢出时的日志误报:#418
2020-07-16 15:46:34 +08:00
xiongziliang
7f8aa7b3d6
Merge remote-tracking branch 'origin/master'
2020-07-16 10:41:28 +08:00
xiongziliang
bdb28c53de
重命名前确保关闭mp4文件:#416
2020-07-16 10:40:30 +08:00
lyg1949
f420509c5c
修复点播rtmp时多出一个后缀名的bug
...
vlc,mpv等播放rtmp时的url规则与代码中注释的不同,导致出现2个后缀名
2020-07-15 14:17:18 +08:00
xiongziliang
0bb593f817
rtp推流无人观看时,自动关闭端口:#410
2020-07-14 09:50:06 +08:00
xiongziliang
b588053571
整理rtsp服务器相关代码
2020-07-10 10:42:23 +08:00
xiongziliang
bc5931dce9
修复G711生成RTP类型无效的bug
2020-07-09 11:15:01 +08:00
xiongziliang
a164b28608
优化rtp解析代码
2020-07-08 23:23:11 +08:00
xiongziliang
d191347839
修复bug
2020-07-08 22:49:08 +08:00
xiongziliang
d4908c3162
提高rtsp客户端健壮性
2020-07-08 22:29:08 +08:00
xiongziliang
be65ec5f1d
提供rtsp服务器稳定性
2020-07-08 22:19:05 +08:00
xiongziliang
1c19394b3d
防止rtmp协议重复生成Track
2020-07-08 21:39:30 +08:00
xiongziliang
7bce212701
修复rtsp重复推流判断无效的bug:#394
2020-07-08 12:42:05 +08:00
xiongziliang
b2ff53037b
http api新建的rtp服务器可以自动超时移除
2020-07-08 10:25:30 +08:00
xiongziliang
e58a63c528
优化代码
2020-07-08 10:09:16 +08:00
xiongziliang
248b2d5cb9
完善GB28181推流
2020-07-08 09:36:10 +08:00
xiongziliang
477f99b756
支持动态创建GB28181收流端口并可指定stream_id:#338
2020-07-07 10:01:12 +08:00
xiongziliang
30260e5414
复用printSSRC函数
2020-07-07 09:58:08 +08:00
xiongziliang
b603b8a68d
支持http api动态添加或关闭rtp服务器
2020-07-02 22:23:43 +08:00
xiongziliang
3c858a8351
添加媒体注册回调事件:#373
2020-07-02 18:14:39 +08:00
xiongziliang
e679e74695
去除多余#include
2020-06-30 21:14:51 +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
41c75fb66a
新增是否开启浏览http目录的配置选项:#367
2020-06-30 09:16:02 +08:00
xiongziliang
bbcb4d41f7
修复ps解析误判为aac的bug
2020-06-29 11:55:13 +08:00
xiongziliang
038979b716
修改rtmp metadata codec由字符为整形,兼容比较老的rtmp服务器
2020-06-28 21:49:08 +08:00
xiongziliang
fd77398291
修复dts计算可能导致不同步的问题:#369
2020-06-28 15:24:08 +08:00
xiongziliang
f67e9fce9a
修复访问悬垂指针的可能
2020-06-28 15:21:41 +08:00
xiongziliang
66c5a7169a
修复metadata中没duration导致播放失败的bug:#362
2020-06-24 11:02:35 +08:00
xiongziliang
e76bc65243
修复开启转协议后,无人观看掐流延时不定期的bug
2020-06-19 10:19:42 +08:00
xiongziliang
5f50441f43
降低第三方库头文件依赖性
2020-06-12 18:17:49 +08:00
xiongziliang
f03351a71a
修改dts生成逻辑
2020-06-11 23:06:01 +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
7df092074d
修复m3u8起始阶段SEQUENCE错误的bug:#288
2020-06-09 14:21:57 +08:00
xiongziliang
974260156e
防止误报警告日志
2020-05-30 18:33:28 +08:00
xiongziliang
b7049b1407
精简代码
2020-05-30 14:43:08 +08:00
xiongziliang
31ad2caa6b
使用抛异常替代asset,提高代码稳定性
2020-05-30 11:49:36 +08:00
xiongziliang
fb4435fca9
rtp推流解析出frame才刷新保活计时器
2020-05-30 10:16:15 +08:00
xiongziliang
de96a4f0c8
优化代码
2020-05-28 18:19:39 +08:00
xiongziliang
406c5477e0
无metadata且不能获取Track的rtmp确保能注册
2020-05-28 18:01:03 +08:00
xiongziliang
41509800bc
完善对无metadata的rtmp流的兼容性
2020-05-28 17:03:12 +08:00
xiongziliang
0548256c30
合并写缓存优化对rtp的支持
2020-05-27 11:25:56 +08:00
xiongziliang
dea36cfc84
优化合并写逻辑,确保GOP缓存第一帧为关键帧并确保音视频数据的交织性
2020-05-27 11:09:02 +08:00
xiongziliang
a7bcfd566b
平滑动播放hls
2020-05-26 23:19:13 +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
7d8dbb2a4b
修复websocket客户端相关bug:#311
2020-05-26 12:11:44 +08:00
xiongziliang
876111698e
优化时间戳相关代码
2020-05-26 10:30:39 +08:00
xiongziliang
ff7914e441
修改MediaSource相关接口
2020-05-26 10:11:58 +08:00
xiongziliang
e063cb3a00
兼容一些不规范的rtsp流
2020-05-25 21:54:43 +08:00
xiongziliang
0626f9a2bf
修复拼写错误
2020-05-25 18:33:42 +08:00
xiongziliang
8d1801339c
优化rtsp鉴权事件
2020-05-25 18:22:21 +08:00
xiongziliang
20d3757986
http-flv/ws-flv先触发on_play再触发on_stream_not_found
2020-05-25 17:38:36 +08:00
xiongziliang
68d910e229
限制rtsp/rtmp推流url合法性
2020-05-25 16:40:41 +08:00
xiongziliang
5ae887a279
websocket客户端销毁时主动发送close信令: #311
2020-05-25 14:36:58 +08:00
xiongziliang
07089ea4e2
websocket协议支持随机掩码
2020-05-25 14:36:07 +08:00
xiongziliang
c20a1337a5
完善rtp丢包日志
2020-05-25 14:28:02 +08:00
xiongziliang
893564d0be
修复拼写错误
2020-05-25 13:51:00 +08:00
xiongziliang
06d61cf195
添加全局时间戳覆盖逻辑
2020-05-25 12:07:38 +08:00