Commit Graph

153 Commits

Author SHA1 Message Date
xia-chu
881238fcf3 只拷贝frontend前端页面到www/StreamUI 2025-12-03 15:02:48 +08:00
xia-chu
b0cf40d281 支持回调http请求到fastapi 2025-12-03 14:44:15 +08:00
xia-chu
9b37d69bfd 添加python插件 2025-12-02 16:21:40 +08:00
xia-chu
b1f55ec402 整理构建系统 2025-11-26 21:12:52 +08:00
xia-chu
046bdecd1e 修复release编译产出文件过大的问题 2025-10-11 18:58:10 +08:00
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
baigao-X
7d7320f0b7 feat: generating debug files during linux release builds (#4308)
linux release构建时生成与MediaServer 匹配的debug文件。
生产环境依然使用小尺寸的MediaServer,在需要gdb调试或者查看coredump文件时可以结合debug文件查看调用栈。
2025-06-07 15:01:42 +08:00
PioLing
b7b7989fae Add ENABLE_VERSION macro check. (#4100) 2025-01-06 15:27:14 +08:00
PioLing
9863f9c160 Add logo and version information to exe on windows (#4093) 2025-01-03 11:33:35 +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
Xiaofeng Wang
06ff8461c7 减少依赖影响范围 (#4039)
See #4034
2024-11-25 11:22:29 +08:00
a839419160
326b475beb 增加pcap解析工具(#4033 #4034) 2024-11-22 17:43:15 +08:00
xia-chu
1753cbb81b Add compile options: -Wno-comment 2024-09-22 18:38:53 +08:00
gaoshan
116c3e4642 Fix android build, link log library (#3670) 2024-06-28 19:09:41 +08:00
KkemChen
2f6723f602 perf: 调整VideoStack相关代码 (#3642)
1. 修复编译宏不生效问题
2. 新增reset接口,用于不断流的情况下变更拼接参数
2024-06-19 14:06:02 +08:00
Lidaofu
968f6c69c3 修复Windows下链接OpenSSL静态库缺少Crypt32库的问题 (#3552)
Co-authored-by: 李道甫 <lidf@ahtelit.com>
2024-05-19 10:34:46 +08:00
xia-chu
e4de454d5d Charset default to UTF-8 on Windows 2024-04-20 22:25:21 +08:00
Aven
3dcd0ed463 Enable video stack individually (#3469) 2024-04-13 20:35:59 +08:00
xia-chu
af3ef996b0 Avoid build warnings in the main code 2024-03-30 14:59:28 +08:00
Jacob Su
208f57e2cd Fix macOS compile error by rename version.h -> ZLMVersion.h (#3411 #3410) 2024-03-24 17:18:18 +08:00
KkemChen
437ae778c0 feat: VideoStack (#3373) 2024-03-16 22:56:32 +08:00
sandro-qiang
aeda47ec8c 修正SctpAssociation.cpp的访问越界 (#3182)
ZLMediaKit/ZLMediaKit#3181
2024-01-05 15:33:51 +08:00
snysmtx
8f4e76406c 修复编译 rpm 时获取调试信息失败问题 (#3151)
Release 8.0 之后, 编译 rpm 会出现获取调试信息失败问题,  导致 rpm 打包失败

虽然说可以禁用调试包生成来规避问题, 但个人认为在编译 DEBUG 版本时生成调试信息包还是有必要的
2023-12-22 17:40:42 +08:00
xia-chu
25c99470ee feat: add support of codec plugin 2023-12-10 11:09:04 +08:00
夏楚
bbe8f4a018 release 8.0 2023-12-09 16:23:51 +08:00
alexliyu7352
4648c156c8 优化hls播放器,使用持久化连接 (#3070)
hls播放时,如果对方reset断开了tcp连接,应该自动发起重连
2023-12-01 17:56:08 +08:00
alexliyu7352
db3f0147be 升级jemalloc到5.3版本 (#2884)
升级jemalloc到5.3版本,相比5.2.1内存稳定许多,去除--without-export编译参数,
解决类似glibc中分配内存却在jemalloc中释放导致崩溃问题.
比如: toolkit::LoggerWrapper::printLogV中使用的vasprintf
2023-10-09 19:37:04 +08:00
Xiaofeng Wang
75e41bf3b8 仅在有 parent 时设置到 parent 中 (#2676) 2023-07-19 22:38:28 +08:00
Xiaofeng Wang
7b1a4d23e1 Reset cached value at start (#2664) 2023-07-15 18:47:05 +08:00
XiaoYan Lin
cb0579a16d 新增支持hls-fmp4直播(#2603 #977 #1965)
同时主要优化点包括:
1、编译宏特性开关优化。
2、转协议复用器相关创建代码移动至Recorder类。
3、转协议复用器onAllTrackReady函数修改为addTrackCompleted。
4、startRecord/stopRecord/isRecording接口新增支持ts/fmp4/hls-fmp4协议。

Co-authored-by: xia-chu <771730766@qq.com>
Co-authored-by: linxiaoyan87 <linxiaoyan87@foxmail.com>
2023-07-02 12:02:33 +08:00
朱如洪
c530f281c3 优化CMakeList, 完善iOS下编译配置 (#2578)
1、调整 json 的源码引入,外部可以引入 json/json.h 使用;
2、针对 iOS 工程调整 cmake 配置,解决 iOS 环境下mk_util.h 找不到问题;同时在 iOS 工程中引入 MediaServer 静态库;
2023-06-27 10:51:31 +08:00
tbago
c0a7a4ab70 优化cmake配置文件, 添加必要头文件 (#2558)
- enable_server cmake选项生效;
- enable_tests 选项在api目录下的test同样生效;
- 增加stdio.h 防止编译失败;
2023-06-17 10:24:17 +08:00
xia-chu
843e3423cf 新增实例上报功能: #2294 2023-03-12 00:14:22 +08:00
Alexandr
8bcc2cddc8 Build without usrsctp 2022-12-30 08:51:37 +03:00
xiongziliang
228fa17327 windows平台默认开启wepoll(iocp) 2022-11-13 00:38:56 +08:00
xiongziliang
44fd6b86bc 完善版本信息 2022-11-06 00:38:14 +08:00
monktan89
7e95bd2078 修复MSVC编译问题 2022-11-03 10:51:49 +08:00
Dw9
9b8f2c5f3d 修复assert路径错误 2022-09-25 12:12:23 +08:00
Xiaofeng Wang
0c882d4d79 cmake: fix include directory for assert.h 2022-09-19 21:16:56 +08:00
Xiaofeng Wang
11dfcf3bdb cmake: -Wl linking flags 2022-09-19 21:02:51 +08:00
Xiaofeng Wang
c282775205 cmake: fix linking asan 2022-09-19 21:00:48 +08:00
紫耀风
4e8c56e2be 使用wepoll iocp模拟epoll api,实现在windows下支持iocp (#1871) 2022-08-11 10:18:16 +08:00
ziyue
13dd8c699b 整理cmake 2022-08-01 16:12:52 +08:00
Xiaofeng Wang
25e9cd07db 避免其他模块查找过程污染基础环境
Close https://github.com/ZLMediaKit/ZLMediaKit/issues/1840
2022-07-30 11:26:48 +08:00
Xiaofeng Wang
be3cc33800 Fix build on apple M1 2022-07-29 19:37:51 +08:00
Xiaofeng Wang
8cb73e1bc3 修正 Windows 编译问题 2022-07-28 00:25:50 +08:00
Xiaofeng Wang
310b60276c cmake: try to disable compile warning of C4819 2022-07-26 13:25:36 +08:00
Xiaofeng Wang
a35134a5ca cmake: fix version.h path 2022-07-26 13:09:25 +08:00
Xiaofeng Wang
0b33769ee9 cmake: 库列表名称变更 2022-07-25 23:44:02 +08:00
Xiaofeng Wang
9d3ead61de 整理 CMakeLists.txt 2022-07-25 00:22:30 +08:00