mofeng-git
|
206594e292
|
feat(video): 事务化切换与前端统一编排,增强视频输入格式支持
- 后端:切换事务+transition_id,/stream/mode 返回 switching/transition_id 与实际 codec
- 事件:新增 mode_switching/mode_ready,config/webrtc_ready/mode_changed 关联事务
- 编码/格式:扩展 NV21/NV16/NV24/RGB/BGR 输入与转换链路,RKMPP direct input 优化
- 前端:useVideoSession 统一切换,失败回退真实切回 MJPEG,菜单格式同步修复
- 清理:useVideoStream 降级为 MJPEG-only
|
2026-01-11 10:41:57 +08:00 |
|
mofeng-git
|
ad401cdf1c
|
refactor(web): 前端代码规范化重构
- 集中化 HID 类型定义到 types/hid.ts,消除重复代码
- 统一 WebSocket 连接管理,提取共享工具到 types/websocket.ts
- 拆分 ConsoleView.vue 关注点,创建 useVideoStream、useHidInput、useConsoleEvents composables
- 添加 useConfigPopover 抽象配置弹窗公共逻辑
- 优化视频容器布局,支持动态比例自适应
|
2026-01-02 21:24:47 +08:00 |
|
mofeng-git
|
28ecf951df
|
feat(rustdesk): 优化视频编码协商和添加公共服务器支持
- 调整视频编码优先级为 H264 > H265 > VP8 > VP9,优先使用硬件编码
- 对接 RustDesk 客户端质量预设 (Low/Balanced/Best) 到 BitratePreset
- 添加 secrets.toml 编译时读取机制,支持配置公共服务器
- 默认公共服务器: rustdesk.mofeng.run:21116
- 前端 ID 服务器输入框添加问号提示,显示公共服务器信息
- 用户留空时自动使用公共服务器
|
2026-01-02 17:22:34 +08:00 |
|
mofeng-git
|
bc85810849
|
fix(video): 修正默认码率配置并优化软件编码器
- 将默认码率从 8 Mbps 降至 1 Mbps,更适合嵌入式设备
- 修复 WebRtcConfig 中 max_bitrate < target_bitrate 的逻辑错误
- 优化 libx264/libx265 软件编码器的低延迟配置
- 优化 libvpx (VP8/VP9) 的实时编码参数
|
2025-12-31 22:04:58 +08:00 |
|
mofeng-git
|
d143d158e4
|
init
|
2025-12-28 18:19:16 +08:00 |
|