Add configurable FPS to test preview and fix composite stream release race
- Add FPS control (1-60, default 20) to test preview modal next to LED count - Server accepts fps query param, controls frame send interval - Single Apply icon button (✓) applies both LED count and FPS - FPS control stays visible for picture sources (LED count hidden) - Fix composite sub-stream consumer ID collision: use unique instance ID to prevent old WebSocket release from killing new connection's streams Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -932,6 +932,7 @@
|
||||
"color_strip.test.connecting": "Connecting...",
|
||||
"color_strip.test.error": "Failed to connect to preview stream",
|
||||
"color_strip.test.led_count": "LEDs:",
|
||||
"color_strip.test.fps": "FPS:",
|
||||
"color_strip.test.apply": "Apply",
|
||||
"color_strip.test.composite": "Composite",
|
||||
"color_strip.type.daylight": "Daylight Cycle",
|
||||
|
||||
@@ -932,6 +932,7 @@
|
||||
"color_strip.test.connecting": "Подключение...",
|
||||
"color_strip.test.error": "Не удалось подключиться к потоку предпросмотра",
|
||||
"color_strip.test.led_count": "Кол-во LED:",
|
||||
"color_strip.test.fps": "FPS:",
|
||||
"color_strip.test.apply": "Применить",
|
||||
"color_strip.test.composite": "Композит",
|
||||
"color_strip.type.daylight": "Дневной цикл",
|
||||
|
||||
@@ -932,6 +932,7 @@
|
||||
"color_strip.test.connecting": "连接中...",
|
||||
"color_strip.test.error": "无法连接到预览流",
|
||||
"color_strip.test.led_count": "LED数量:",
|
||||
"color_strip.test.fps": "FPS:",
|
||||
"color_strip.test.apply": "应用",
|
||||
"color_strip.test.composite": "合成",
|
||||
"color_strip.type.daylight": "日光循环",
|
||||
|
||||
Reference in New Issue
Block a user