vdi-cloud/terminal/kiosk-shell/etc/moonlight.conf
songyiming 66f0cacb32 修复:QProcess::finished 重载消歧;文档:串流失败根因(双 IP ARP 混乱)与延迟 A/B 结论
- moonlight_session.cpp:QOverload 显式指定 finished 重载,修复 ARM64 编译
- moonlight.conf:vsync/frame-pacing 默认改回开启(A/B 实测关闭无改善)
- docs:补充 10-29 登录流程验收、重启验收、Monitor 恢复、双 IP 根因与 A/B 数据
- tools:新增 deploy_kiosk.sh 一键部署脚本与语法自检
2026-10-29 11:58:32 +08:00

41 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# VDI 云桌面串流参数
#
# 本文件当前仅供 scripts/vdi-moonlight 调试脚本使用;
# 产品流程中 kiosk-shell 的 MoonlightSession 由连接票据直接传参,不读本文件。
#
# host/port Sunshine 服务端地址与端口(当前联调环境为 VM 100)
# app 应用名。用名称而不是 app id:Sunshine 重装或升级后 app id 会变。
# width/height 分辨率,需与服务端显示模式匹配(当前虚拟显示器 1920x1080@60Hz)
# fps 目标帧率
# bitrate 码率,单位 Kbps
# codec 视频编码:H.264 / HEVC / AV1 / auto
# decoder 解码器:software / hardware / auto
# RK3528 当前没有可用的 V4L2 request/m2m 设备,auto 会选到
# h264_v4l2m2m 并报 "Could not find a valid device",故用 software。
# vsync 1=开启垂直同步(--vsync),0=关闭(--no-vsync)
# 2026-10-29 A/B 实测:关闭 vsync/frame-pacing 对队列与渲染延迟
# 无改善(队列 47.2ms vs 基线 44.1ms),延迟瓶颈是服务端软编码
# 帧率(~21.6FPS,每帧约46ms),保持开启以获得更平滑的画面。
# frame-pacing 1=开启帧率匀速(--frame-pacing),0=关闭(--no-frame-pacing)
# performance-overlay 1=显示性能叠图(调试用)
# hang-timeout 串流假死判定时间(秒),0 表示关闭该检测
host=192.168.1.70
port=47984
app=Desktop
width=1920
height=1080
fps=60
bitrate=20000
codec=H.264
decoder=software
display-mode=fullscreen
audio=1
absolute-mouse=1
vsync=1
frame-pacing=1
performance-overlay=0
retry=3
retry-delay=5
hang-timeout=90
wait-host=120