Files
romm/backend/handler
Zach Clendenen a9aef8a8e9 fix(streaming): take state thumbnails from the broker's frame
The browser capture read #videoCanvas by id, but the default path routes
frames through a MediaStreamTrackGenerator into a hidden #videoStream, so
drawImage returned a transparent bitmap. That still carries PNG magic, so
the backend accepted it and filed a blank thumbnail against a good state.

pull_state_to_library now asks the broker for the container's own capture
first, which is the same route for every emulator, and falls back to an
embedded frame (PCSX2) only when the broker answers 404. The browser
capture, its Redis stash, and the /state-frame endpoint are gone.
2026-09-13 21:33:09 -05:00
..
2025-12-07 12:19:13 -05:00