Commit Graph

38 Commits

Author SHA1 Message Date
baigao-X
3fb43c5fef
feat: 增加webrtc代理拉流 (#4389)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
- 增加客户端模式,支持主动拉流、推流:
   - addStreamProxy接口新增支持whep主动拉流,拉流地址目前只兼容zlm的whep url。
   - addStreamPusherProxy接口新增支持whip主动推流,推流地址目前只兼容zlm的whip url。
   - 以上推流url格式为webrtc[s]://server_host:server_port/app/stream_id?key=value, 内部会自动转换为http[s]://server_host:server_port/index/api/[whip/whep]?app=app&stream=stream_id&key=value。

- 增加WebRtc p2p 模式:
  - 增加 ICE FULL模式。
  - 增加STUN/TURN 服务器。
  - 增加websocket 信令。
  - 增加P2P代理拉流。

---------

Co-authored-by: xia-chu <771730766@qq.com>
Co-authored-by: mtdxc <mtdxc@126.com>
Co-authored-by: cqm <cqm@97kid.com>
2025-09-20 16:23:30 +08:00
PioLing
7b1f8fedac
Add network traffic statistics (#4239)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
Co-authored-by: xiongguangjie <xiong_panda@163.com>
Co-authored-by: xia-chu <771730766@qq.com>
2025-05-02 16:23:25 +08:00
alex
4152dcd409
AI automatically translates all comments in the code into English (#3917) 2024-09-19 14:53:50 +08:00
夏楚
bbe8f4a018
release 8.0 2023-12-09 16:23:51 +08:00
xia-chu
cdf97e7605 更新zltoolkit,适配最新代码 2023-04-28 22:04:09 +08:00
老衲不出家
f05a9501fa
Unified code style (#2137) 2022-12-02 14:43:06 +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
817542cd0c Mutex: 删除一些不必要的互斥锁 2021-11-10 11:38:54 +08:00
ziyue
dad0c5e3cc MediaPusher: 抽象精简代码 2021-11-09 17:49:18 +08:00
xia-chu
bc6286553a 优化rtmp性能 2021-02-06 20:10:31 +08:00
xia-chu
b6cbc87712 全面整理代码,去除编译警告 2021-01-17 18:31:50 +08:00
xiongziliang
700a16c759 大幅提升接收推流性能以及降低内存占用 2020-11-01 03:41:35 +08:00
xiongziliang
a7e99b9d37 整理代码 2020-08-30 11:40:03 +08:00
xiongziliang
fbd711a6bb 整理代码 2020-08-30 10:48:34 +08:00
xiongziliang
7019e4717c 整理授权协议 2020-04-04 20:30:09 +08:00
xiongziliang
1168174c2b tab统一替换为4个空格键:#242 2020-03-20 11:51:24 +08:00
xiongziliang
1ce9af35e3 1、复用rtsp url解析代码
2、修复rtsp/rtmp推流异常回调紊乱的问题
2020-01-04 12:03:53 +08:00
xiongziliang
d6fa0296cb 添加配置项ultraLowDelay,可选择是否低延时模式 2019-09-04 18:57:54 +08:00
xiongziliang
6d3d0272a6 删除冗余文件
更新licence日期
2019-05-08 15:40:07 +08:00
xiongziliang
9247cb9571 支持客户端自定义设置EventPoller对象,提高线程安全性 2019-04-01 10:16:15 +08:00
xiongziliang
d208f69730 优化推流器代码 2019-03-28 09:43:47 +08:00
xiongziliang
b1a2de3853 添加rtsp推流器
整理代码
2019-03-27 18:41:52 +08:00
xiongziliang
b5c3830a63 简化rtmp推流器代码 2019-03-26 18:04:06 +08:00
xiongziliang
9f16cc1201 简化命名空间 2018-10-24 17:17:55 +08:00
xiongziliang
39baaebc55 统一成员变量命名风格 2018-10-24 15:43:52 +08:00
xiongziliang
05e6d32576 完善webSocket协议实现
优化代码
2018-09-26 23:12:03 +08:00
xiongziliang
ae5482ec61 修复rtmp推流器bug/更新网络库 2018-06-24 14:49:21 +08:00
xiongziliang
f1b4a196c6 适配ZLToolKit develop分支 2018-02-23 15:36:51 +08:00
xiongziliang
bd72a69d33 初步提交2.0版本,支持虚拟主机 2018-02-02 18:06:08 +08:00
771730766@qq.com
8c50aa6c66 优化性能 2018-01-30 11:23:57 +08:00
xiongziliang
a32c97f8b5 优化性能 2017-12-04 23:55:09 +08:00
xiongziliang
d26d484ecf “添加bom头 2017-10-09 22:11:01 +08:00
xiongziliang
c367df73a5 整理代码,添加注释 2017-09-30 13:00:12 +08:00
xiongziliang
1d1d2516e9 添加版权信息 2017-09-27 16:20:30 +08:00
xiongziliang
568d8ad53f 添加Rtmp推流示例 2017-06-06 20:06:31 +08:00
xzl
fd9df3f5cf 防止线程竞争的bug 2017-05-12 13:59:58 +08:00
xiongzilaing
0eb82e4627 整理代码 2017-04-25 11:35:41 +08:00
xzl
3f73024a9b 初始提交 2017-04-01 16:35:56 +08:00