Commit Graph

63 Commits

Author SHA1 Message Date
ziyue
15affeff1d 优化关闭媒体源相关逻辑: #1963 2022-09-18 20:36:47 +08:00
cqm
999e0b274e 简化代码:
- MediaSource引入shortUrl和getUrl来简化日志输出
- WebApi引入fillSockInfo
2022-09-07 11:47:15 +08:00
custompal
ce545aa74f Merge branch 'master' into cus_pr 2022-09-01 16:56:44 +08:00
KevinZang
3585e9f7bc
增加VLC如何播放SRT协议说明 (#1929) 2022-09-01 15:53:19 +08:00
custompal
0d6509ce03 统一部分变量名和代码样式风格 2022-08-30 21:24:25 +08:00
custompal
04aa3ef41f 增加获取媒体流播放器列表功能 2022-08-30 21:05:19 +08:00
xiongzilaing
679c79802f 整理媒体事件相关代码,删除无须重载时的多余代码逻辑 2022-08-28 17:25:56 +08:00
xiongguangjie
67ad2a49c3 srt is player stop handleshake timert 2022-08-27 15:18:32 +08:00
xiongguangjie
f9f6fd136a srt handle packet send repeate by timer 2022-08-27 15:06:03 +08:00
xiongguangjie
602c8e068b srt handshake packet send 3 times 2022-08-27 13:25:23 +08:00
xiongguangjie
beb6383e72 optimize srt handle shake 2022-08-27 12:46:35 +08:00
xiongziliang
c2ab45f78d 完善线程安全设计 2022-08-27 10:17:06 +08:00
ziyue
6382fcb3be 确保on_publish事件回调时线程安全 2022-08-11 18:36:17 +08:00
ziyue
35791aac89 优化代码,去除编译警告,修复拼写错误 2022-08-08 17:36:07 +08:00
ziyue
ba947cb6b5 调整switch case语句缩进 2022-08-05 17:42:17 +08:00
Xiaofeng Wang
9d3ead61de 整理 CMakeLists.txt 2022-07-25 00:22:30 +08:00
xiongziliang
53d580dfab 解决msvc下getnameinfo链接失败问题 2022-07-09 22:07:45 +08:00
xiongguangjie
16e791b83c srt use reference value 2022-07-06 21:40:24 +08:00
xiongguangjie
d622481619 fix multi aac frame in one frame result flv.js play audio error 2022-06-26 00:54:31 +08:00
xiongguangjie
b526dacd7c srt media source evnet override getOwnerPoller 2022-06-24 21:43:02 +08:00
xiongguangjie
0916a72db7 fix flow report hook player or pusher judge error 2022-06-24 16:28:16 +08:00
xiongguangjie
5162cf6112 more debug info for srt 2022-06-22 18:41:51 +08:00
xiongguangjie
dea848610a more detail printf for handshake 2022-06-22 18:26:37 +08:00
xiongguangjie
90874b2b04 dump unsupport handshake 2022-06-22 18:11:20 +08:00
xiongguangjie
fda4e83ae4 srt support tlpktdrop=0 feature 2022-06-18 13:01:04 +08:00
xiongguangjie
559b4d3fe7 for srt more check config 2022-06-14 19:49:45 +08:00
xiongguangjie
b771274a7f fix recv cycle buffer crash and avoid send nak packet exceed mtu 2022-06-12 23:35:30 +08:00
xiongguangjie
6503d95853 add cyclebuffer for recv buf 2022-06-12 21:11:50 +08:00
xiongguangjie
9e18428d7b delay min is 120ms 2022-06-11 23:50:47 +08:00
xiongguangjie
ce7787fe33 force use srt flag 0xbf 2022-06-11 23:11:14 +08:00
xiongguangjie
2e097f13b1 only use periodic NAK 2022-06-11 23:04:24 +08:00
xiongguangjie
4b9f789c79 add srt recv and send packet buf size 2022-06-11 22:51:11 +08:00
xiongguangjie
f8373302d0 change srt streamid like srs srt streamid 2022-06-11 21:37:41 +08:00
xiongziliang
5688337546 添加utf-bom头 2022-06-11 15:11:03 +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
086146a344 try fix windows build error 2022-06-04 14:05:51 +08:00
xiongguangjie
4d9a55b924 add srt usage for zlm 2022-06-04 13:31:15 +08:00