Commit Graph

20 Commits

Author SHA1 Message Date
baigao-X
3fb43c5fef feat: 增加webrtc代理拉流 (#4389)
- 增加客户端模式,支持主动拉流、推流:
   - 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
xia-chu
57fede9508 修复编译警告 2025-08-09 15:42:28 +08:00
baigao-X
1c8ed1c55a Add srt caller mode and stream encryption support. (#4088)
Add srt caller mode and stream encryption support.
1. Support srt caller mode, realize srt proxy pull stream proxy push
stream;
url parameter format such as: srt://127.0.0.1:9000?streamid=#!
::r=live/test11
2. Support srt stream encrypted transmission in caller and listener
mode.

---------

Co-authored-by: xiongguangjie <xiong_panda@163.com>
2024-12-28 20:21:29 +08:00
xiongguangjie
87277ac91a Optimaztion code for srt (#3934) 2024-09-28 10:11:39 +08:00
alex
4152dcd409 AI automatically translates all comments in the code into English (#3917) 2024-09-19 14:53:50 +08:00
ziyue
ba947cb6b5 调整switch case语句缩进 2022-08-05 17:42:17 +08:00
xiongziliang
53d580dfab 解决msvc下getnameinfo链接失败问题 2022-07-09 22:07:45 +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
b771274a7f fix recv cycle buffer crash and avoid send nak packet exceed mtu 2022-06-12 23:35:30 +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
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
086146a344 try fix windows build error 2022-06-04 14:05:51 +08:00
xiongguangjie
cd6b0ee0c4 fix peer ip error 2022-06-04 12:22:55 +08:00
xiongguangjie
6237dd48dc add commet and remove compile warn 2022-06-04 10:11:28 +08:00
xiongguangjie
7f65e082f5 can build prepare for play ts stream by srt 2022-06-03 22:47:52 +08:00
xiongguangjie
aa2ff01d9f first commit for srt intergrate 2022-06-03 13:25:32 +08:00