Skip to content

Conversation

@lunasaw
Copy link
Owner

@lunasaw lunasaw commented Aug 14, 2025

8f8e139 (HEAD -> 1.0.9, origin/1.0.9) ci(build): 添加 GitHub CI 配置并更新项目版本
1b134bf refactor(zlm): 移除未使用的依赖项
ba65700 refactor(zlm): 优化媒体在线状态返回类型
55fbaf9 refactor(node-service): 重构节点服务接口和实现
95bd7de refactor(zlm): 新增 NodeService 以简化节点管理
c5da5aa feat(zlm): 添加拉流代理回调功能
ec8097e feat(hook): 添加 onProxyAdded 钩子函数
960934e feat(hook): 添加 onProxyAdded 钩子函数
7ab958d (origin/1.0.8) feat(api): 添加获取媒体流播放地址接口
3732a43 refactor(zlm): 重构 ZLMediaKit 相关接口和数据结构

lunasaw added 10 commits August 3, 2025 19:11
- 为 API接口添加 OpenAPI 注解,增强接口文档
- 优化 MediaInfo 结构,移除冗余字段
- 新增 OriginSock 类,用于表示源套接字信息
- 更新 Track 类,增加丢包率等新字段
- 在 ServerResponse 类中添加泛型化的 success 方法
- 调整部分 API 接口的返回类型,简化数据结构
- 新增 /media/play-urls 接口,用于获取指定媒体流的多协议播放地址
- 实现 PlayUrl 类,用于存储不同协议的播放地址信息
- 在 ZlmRestService 中添加 getPlaybackUrls 方法,用于生成播放地址
- 优化 ZlmApiController,移除未使用的导入
- 在 AbstractZlmHookService 中添加 onProxyAdded 方法的空实现
- 在 ZlmHookService 接口中添加 onProxyAdded 方法的声明
- 在 AbstractZlmHookService 中添加 onProxyAdded 方法的空实现
- 在 ZlmHookService 接口中添加 onProxyAdded 方法的声明
- 在 ZlmApiController 中添加拉流代理成功后的回调逻辑
- 更新 ZlmHookService 接口,增加 onProxyAdded 方法
- 修改 AbstractZlmHookService 中的 onProxyAdded 方法签名
- 新增 NodeService 接口和实现类,统一管理节点选择和查询功能
- 重构 ZlmApiController,使用 NodeService 替代直接调用 LoadBalancer 和 NodeSupplier
- 新增 NodeService 使用指南文档
- 添加 NodeService 单元测试
- 移除了 NodeService 中的 getAllNodes、hasNode 和 getNodeCount 方法
- 将这些方法的实现移至 NodeSupplier 接口
- 更新了 ZlmApiController 中的 getAllNodes 方法,使用 NodeSupplier 的 getNodes 方法
- 删除了 NodeServiceImpl 中的 getAllNodes、hasNode 和 getNodeCount 方法
- 更新了相关的测试用例
- 将 MediaOnlineStatus 类中的 online 字段类型从 String 改为 Boolean- 删除了 NodeService 使用指南中的多余空行
- 删除了 ZlmApiController 类中未使用的 ZlmProperties 和 LoadBalancer 自动注入属性
- 保留了 NodeSupplier 的自动注入
- 新增 GitHub CI 配置文件,实现自动构建和测试
- 更新 zlm-spring-boot-starter版本至 1.0.9
- 移除 zlm-spring-boot-starter-test 的 SNAPSHOT 版本
- 在 StreamProxyItem 类中添加作者注释
@lunasaw lunasaw added the enhancement New feature or request label Aug 14, 2025
@lunasaw lunasaw merged commit 418823a into master Aug 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants