Commit Graph

33 Commits

Author SHA1 Message Date
xia-chu
d286ac1d73 NoticeCenter支持安全类型转换,解决监听者参数类型不一致导致的bug 2023-09-02 11:22:28 +08:00
夏楚
5ca4ed53b2
防止析构函数抛异常导致崩溃问题 (#2546) 2023-06-11 22:07:15 +08:00
Johnny
0232caf068 add MediaTuple 2023-05-30 11:01:27 +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
ac1abb34da 新增媒体流flush机制:#1996 2022-10-16 19:54:17 +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
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
xiongziliang
c2ab45f78d 完善线程安全设计 2022-08-27 10:17:06 +08:00
ziyue
6382fcb3be 确保on_publish事件回调时线程安全 2022-08-11 18:36:17 +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
559b4d3fe7 for srt more check config 2022-06-14 19:49:45 +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
ziyue
e5ca3aa0fb 格式化代码 2022-06-07 10:01:42 +08:00
ziyue
e415230e47 格式化srt相关代码 2022-06-07 09:52:20 +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
71ce31d5c0 for some optimize and anti pkt lost and force pop packet when too late 2022-06-04 20:51:49 +08:00
xiongguangjie
92420f8392 check stream id 2022-06-04 13:30:59 +08:00
xiongguangjie
91aa9c494c srt can play stream 2022-06-04 11:23:18 +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
18f4870cfe emit push is srt 2022-06-03 20:26:53 +08:00
xiongguangjie
9fadc22c80 srt can push but bandwith estimate has error 2022-06-03 16:47:53 +08:00