Improve screencast performance: lower defaults, fps cap, drop mousemove flood
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+7
-3
@@ -4,6 +4,10 @@ APP_PORT=32450
|
||||
# 应用配置
|
||||
MAX_SESSIONS=1
|
||||
SESSION_IDLE_TIMEOUT=1800
|
||||
VIEWPORT_WIDTH=1280
|
||||
VIEWPORT_HEIGHT=720
|
||||
SCREENCAST_QUALITY=80
|
||||
|
||||
# 画面性能(卡顿时可继续调低)
|
||||
VIEWPORT_WIDTH=1024
|
||||
VIEWPORT_HEIGHT=576
|
||||
SCREENCAST_QUALITY=55
|
||||
SCREENCAST_MAX_FPS=15
|
||||
SCREENCAST_EVERY_NTH_FRAME=2
|
||||
|
||||
Reference in New Issue
Block a user