mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
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.