Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
src/ui/video-pane.js chooses H.264 or the frame feed for a camera and builds a labelled 44 px quality select - module and test only #382
Sign in to join this conversation.
From #260, piece 1 of 2 (#70 real video). The player is on main (
src/ui/video-player.js, 435973a:canDecode,VideoPlayer) and the relay flagsh264in/camerasand serves/camera/<id>/video. Code to reuse: pull #207's branchsmith/70-real-video-hardware-h-264-from-the-pi-ov.Done:
Software/so101/src/ui/video-pane.jsexports a purechoose(camera, canDecode)that returns'h264'only whencamera.h264 === trueandcanDecodeis true, else'frames', and aqualitySelect(doc, options, onChange)that builds a<select aria-label="Video quality">with a min 44x44 px touch target, its option text set throughtextContent.src/ui/video-pane.test.tscheckschoosefor all four cases and the select's label, size and options.viewer.htmlis unchanged, so the first-visit gzip budget is unchanged.bun x tsc --noEmitandbun --cwd Software/so101 testpass.