You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
watch: pause the viewer stream while the window is hidden #227
Found while benchmarking the passive viewer in #225 (issue #207).
When the viewer window is hidden (moved to a Hyprland special workspace), the page keeps receiving and decoding frames. With an unthrottled animation in the session, the viewer stack used 22.5 percent of one core hidden, against 27.3 percent visible. Chromium throttles rendering only in part, and the bridge and x11vnc keep sending at the same rate (about 436 KiB/s).
Acceptance criteria:
Check whether document.visibilityState reports hidden in that state, on Hyprland and one other compositor.
When the page is hidden, stop requesting framebuffer updates or close the WebSocket, and resume when visible.
Benchmark hidden and visible again; the thumbnail must still show the current screen right after it becomes visible.
Activity