Commit Graph

82 Commits

Author SHA1 Message Date
Johnny
0232caf068 add MediaTuple 2023-05-30 11:01:27 +08:00
xia-chu
cdf97e7605 更新zltoolkit,适配最新代码 2023-04-28 22:04:09 +08:00
xiongziliang
c8a20f85f6 直接打印SockException类 2023-04-23 00:10:18 +08:00
xiongziliang
de8249592e Session类构造析构跟踪日志统一在底层网络框架打印 2023-04-22 23:58:17 +08:00
xiongguangjie
a390042f38 srt push check audio and video timestamp sync 2023-03-25 20:32:21 +08:00
mtdxc
754073918a
Header refactor (#2115)
* 优化MultiMediaSourceMuxer头文件包含

* 将MediaSinkDelegate和Demux移到MediaSink中

* MediaSource头文件重构, 独立出PacketCache.h
精简Frame和Track的头文件

* Rtmp头文件重构

* Rtsp头文件重构

* webrtc头文件重构

* 规范.h头文件包含,并将其移到.cpp中:
- 尽量不包含Common\config.h
- Util\File.h
- Rtsp/RtspPlayer.h
- Rtmp/RtmpPlayer.h

* 删除多余的Stamp.h和Base64包含
2022-11-29 11:07:13 +08:00
ziyue
68948288e0 TcpSession/UdpSession统一为Session类 2022-11-19 09:33:10 +08:00
xiongziliang
946945ce7b 优化代码
整理代码
2022-11-12 22:06:09 +08:00
ziyue
ac1abb34da 新增媒体流flush机制:#1996 2022-10-16 19:54:17 +08:00
夏楚
2f9b3e187b
Merge pull request #1984 from Dw9/master
c api support srt server
2022-09-23 14:29:12 +08:00
xiongguangjie
c363b30360 srt optimize ack send logic ignore too many ack packet 2022-09-23 09:35:10 +08:00
Dw9
43bf7c7918 c api support srt server 2022-09-22 21:18:34 +08:00
xiongguangjie
02aad5d256 srt avoid ack time map memory not release 2022-09-22 19:21:14 +08:00
xiongguangjie
a74a9ec0d7 remove srt debug log 2022-09-22 12:03:53 +08:00
xiongguangjie
801f705628 fix srt ack packet packet buf length error 2022-09-22 12:00:02 +08:00
xiongguangjie
642ca4997a add more dump 2022-09-22 01:07:10 +08:00
xiongguangjie
533f35dac4 copy srt estimated link capacity algorithm 2022-09-22 00:34:42 +08:00
xiongguangjie
ea35002be8 copy srt official packet recve rate algorithm 2022-09-21 19:21:49 +08:00
xiongguangjie
ec1942fa81 srt connection transfer support 2022-09-20 00:39:42 +08:00
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