Commit Graph

3893 Commits

Author SHA1 Message Date
xiongziliang
df7a3242bb 修复获取webrtc推流丢包率除0的bug 2022-06-11 14:23:43 +08:00
xiongziliang
f6b4eb418f 优化录制相关代码 2022-06-11 14:18:55 +08:00
xiongziliang
09af12a183 操作MediaSource对象时确保线程安全 2022-06-11 14:17:43 +08:00
xiongziliang
97116e1208 完善getOwnerPoller相关逻辑 2022-06-11 13:08:58 +08:00
xiongziliang
b6d3ec5251 完善获取丢包率pull request; 新增MediaSource::getOwnerPoller接口 2022-06-11 12:56:03 +08:00
Leon
be995f9cd2 !17 【功能请求】 /index/api/getMediaList接口 增加LOSS字段用于统计每个轨道丢包率反馈
* update webrtc/WebRtcPusher.h.
* update webrtc/WebRtcPusher.cpp.
* update webrtc/WebRtcTransport.h.
* update webrtc/WebRtcTransport.cpp.
* update src/Common/MediaSource.h.
* update src/Common/MediaSource.cpp.
* update server/WebApi.cpp.
2022-06-11 04:31:06 +00:00
sha-long-ba-si
3a9408bcec
webrtc answer m-lines次序错误 (#1695)
Co-authored-by: james <mrjamesli@126.com>
2022-06-11 12:26:31 +08:00
xiongziliang
483a75284e 修复udp发送失败导致的问题:#1444, #1645 2022-06-11 12:24:33 +08:00
xiongguangjie
49a0183df0 fix clang format change include order result in windows build error 2022-06-09 22:54:24 +08:00
xiongguangjie
f58211fb08 optimize send nack when check packet lost send nack immediately 2022-06-09 19:30:03 +08:00
ziyue
e5ca3aa0fb 格式化代码 2022-06-07 10:01:42 +08:00
ziyue
e415230e47 格式化srt相关代码 2022-06-07 09:52:20 +08:00
xiongguangjie
020b8b85ea try fix for windows build 2022-06-06 22:13:53 +08:00
xiongguangjie
c92fc8a4a8 format code and remove some useless code 2022-06-06 20:40:04 +08:00
xiongguangjie
83d75c9a72 add srt config for lantency multiplier 2022-06-06 19:55:47 +08:00
xiongguangjie
9f357c24b8 avoid seq cycle 2022-06-06 18:18:26 +08:00
xiongguangjie
b8806657cd for srt lantency calculate when handshake 2022-06-05 14:09:35 +08:00
xiongguangjie
3cca4015c5 fix rtt and rtt variance 2022-06-05 12:13:28 +08:00
xiongguangjie
62dfed39f7 fix timelatency not take effect and avoid buffer is liner avoid cycle 2022-06-05 11:07:42 +08:00
xiongguangjie
6f05cf803d prevent cycle for time lantency and available size 2022-06-04 22:42:28 +08:00
xiongguangjie
adaffcc245 prevent pkt seq cycle and time stamp cycle 2022-06-04 22:09:56 +08:00
xiongguangjie
71ce31d5c0 for some optimize and anti pkt lost and force pop packet when too late 2022-06-04 20:51:49 +08:00
xiongguangjie
89b135400c Merge remote-tracking branch 'origin/master' into feature/srt 2022-06-04 15:47:47 +08:00
xiongguangjie
086146a344 try fix windows build error 2022-06-04 14:05:51 +08:00
xiongguangjie
9a57353470 add srt on readme 2022-06-04 13:31:36 +08:00
xiongguangjie
4d9a55b924 add srt usage for zlm 2022-06-04 13:31:15 +08:00
xiongguangjie
92420f8392 check stream id 2022-06-04 13:30:59 +08:00
xiongguangjie
cd6b0ee0c4 fix peer ip error 2022-06-04 12:22:55 +08:00
xiongguangjie
af9bd2dd0a fix streamid zero error 2022-06-04 12:03:56 +08:00
xiongguangjie
91aa9c494c srt can play stream 2022-06-04 11:23:18 +08:00
xiongziliang
df9a9649b0 Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2022-06-04 11:08:13 +08:00
xiongziliang
b23cbaa0f8 on_publish hook新增continue_push_ms参数,用于断连续推延时控制 2022-06-04 11:06:35 +08:00
xiongguangjie
6237dd48dc add commet and remove compile warn 2022-06-04 10:11:28 +08:00
xiongguangjie
7f65e082f5 can build prepare for play ts stream by srt 2022-06-03 22:47:52 +08:00
xiongguangjie
82da99eef3 add shutdown packet and flow report 2022-06-03 21:17:01 +08:00
xiongguangjie
b9f66ca1ec add srt push string 2022-06-03 20:38:35 +08:00
xiongguangjie
18f4870cfe emit push is srt 2022-06-03 20:26:53 +08:00
xiongguangjie
7606dd7110 for srt push fix ack paramter error result in pkt lost 2022-06-03 20:18:34 +08:00
xiongguangjie
7038924c6f for srt set recv buf 2022-06-03 18:05:24 +08:00
xiongguangjie
ddc5b59a65 some change 2022-06-03 17:49:43 +08:00
xiongguangjie
9fadc22c80 srt can push but bandwith estimate has error 2022-06-03 16:47:53 +08:00
xiongguangjie
1891c4e391 add srt push type 2022-06-03 15:02:07 +08:00
xiongguangjie
aa2ff01d9f first commit for srt intergrate 2022-06-03 13:25:32 +08:00
taojishou
59dcd03b70
修改hls拉流后closestream崩溃的bug (#1678)
* 修改hls拉流后closestream崩溃的bug

Co-authored-by: 夏楚 <771730766@qq.com>
2022-06-01 13:05:49 +08:00
xiongziliang
b0beea7781 修复笔误 2022-05-30 12:44:11 +08:00
xiongziliang
cea30f8180 修复低版本gcc编译问题:#1667 2022-05-29 22:13:07 +08:00
xiongziliang
fd52ba31b0 忽略SIGHUP信号 2022-05-29 21:44:53 +08:00
xiongziliang
ea6ef2779e 新增url判空逻辑 2022-05-29 21:36:34 +08:00
xiongziliang
4f05aef245 兼容一些老的c编译器: #1668 2022-05-29 21:30:06 +08:00
xiongziliang
57d65e47cf 暂时关闭EPOLLEXCLUSIVE特性 2022-05-28 10:51:09 +08:00