Commit Graph

24 Commits

Author SHA1 Message Date
老衲不出家
f05a9501fa
Unified code style (#2137) 2022-12-02 14:43:06 +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
ziyue
9c3b8a6a95 时间戳改为64位 2022-08-08 17:13:39 +08:00
夏楚
c72cf4cbcc
整理命名空间 (#1409)
* feat: remove using namespace mediakit in header files.

(cherry picked from commit d44aeb339a8a0e1f0455be82b21fe4b1b536299f)

* feat: remove using namespace mediakit in FFmpegSource.h

* feat: remove using namespace mediakit in RtpExt.h

* feat: remove using namespace mediakit in header files.

* feat: remove using namespace std in header files.

* feat: remove using namespace std in header files when zltoolkit remove std in header

* 补充命名空间

* 整理命名空间

* 整理命名空间2

* 修复macos ci

* 修复编译问题

* 修复编译问题2

* 修复编译问题3

Co-authored-by: Johnny <hellojinqiang@gmail.com>
Co-authored-by: Xiaofeng Wang <wasphin@gmail.com>
2022-02-02 20:34:50 +08:00
ziyue
e9008afca0 addTrack/inputFrame接口支持返回值;新增全局添加静音音频接口 2021-09-27 13:12:53 +08:00
ziyue
375d36b4c8 确保rtp丢包时,丢弃gop后续所有帧,防止丢包花屏 2021-07-29 16:22:43 +08:00
xia-chu
880b9139b0 性能优化 2021-04-15 19:46:45 +08:00
xia-chu
d76c38ef72 调整264 rtp打包逻辑 2021-04-15 19:40:17 +08:00
Your Name
bffee09639 fix more slice nal one frame result rtp mark error and sps pps rtp not has a mark 2021-04-15 13:54:03 +08:00
xgj
6e4dfaf53f fix webrtc h264 rtp Packetizer error 2021-04-15 00:15:41 +08:00
xia-chu
75d97b9221 优化H264 rtp相关代码 2021-02-07 18:29:48 +08:00
xia-chu
62ba87dd0f 优化frame性能及整理代码 2021-02-06 20:10:33 +08:00
xia-chu
f63b2b1863 去除编译警告,修复bug 2021-01-19 16:05:38 +08:00
xia-chu
b6cbc87712 全面整理代码,去除编译警告 2021-01-17 18:31:50 +08:00
xiongziliang
3acfb15c99 完善H264 rtp解包打包相关代码 2020-07-26 19:56:39 +08:00
xiongziliang
893564d0be 修复拼写错误 2020-05-25 13:51:00 +08:00
xiongziliang
625d7e30c0 整理和精简代码 2020-05-11 22:33:10 +08:00
xiongziliang
7019e4717c 整理授权协议 2020-04-04 20:30:09 +08:00
xiongziliang
9fa6e9d8d9 添加dts生成算法,兼容含B帧的rtsp推流 2020-01-14 10:04:24 +08:00
xiongziliang
39e3c89848 rtp打包减少一次内存拷贝 2019-09-06 15:16:22 +08:00
3503207480@qq.com
036b36f012 注释,说明
注释,说明
2019-08-30 11:17:27 +08:00
xiongziliang
e13ae419ae 精简H264Frame对象,删除多余字段 2019-08-01 14:39:09 +08:00
xiongziliang
7aa0c2ae33 整理优化代码 2019-06-28 17:37:11 +08:00