Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
The page draws the camera from /camera/<id>/ws when relayed and reconnects after 2 s without a frame #140
Sign in to join this conversation.
Part of #87, the browser half. Pull #103's
src/ui/video.jsmay be taken from there.Done:
viewer.htmlintoSoftware/so101/src/ui/video.js, loaded by dynamic import so the first visit stays under the existing 50 KB test. When relayed, it draws frames from the socket; with no frame for 2 s, it reconnects.<img src=/camera/<id>/stream>path stays only for the local (non-relayed) case.src/ui/video.test.tscovers the reconnect timer and the local/relayed choice.bun --cwd Software/so101 testpasses, including the first-visit size test.