vdi-cloud/terminal/kiosk-shell/etc/moonlight.conf

40 lines
1.5 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)
# 关闭可降低约 50ms 的呈现/VSync 延迟,可能引入撕裂
# 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=0
frame-pacing=0
performance-overlay=0
retry=3
retry-delay=5
hang-timeout=90
wait-host=120