Screen share: hand the runtime's FrameBus to fluxer-ui and redraw on new frames #237

Closed
opened 2026-11-12 09:05:20 +00:00 by charles · 1 comment
Owner

Found while building Screen share 26 (source picker, #173).

fluxer_ui::run takes no FrameBus, and no plan task adds one: Screen share 21 puts the capture thumbnails (VideoKey::Source { id }), the local capture, remote video and previews on a bus inside apps/fluxer, but nothing hands that bus to the UI. The picker therefore reads its thumbnails from screens::main::screenshare::picker::State::frames (Option<FrameBus>), which stays None in the app: every card shows its placeholder icon. The stream tiles (Screen share 23/24) will need the same bus.

To do:

  • fluxer_ui::run(..) takes the runtime's FrameBus (from apps/fluxer) and stores it in Local (the picker's State::frames, and wherever 23/24 read it).
  • Shell::subscription adds widgets::video::redraw_subscription(bus, keys) for the keys on screen (the picker's VideoKey::Source of the listed sources while it is open), so a refreshed thumbnail is drawn without waiting for another event.

Seen on the branch screenshare-26-ui-source-picker (base 40d3ea5).

Found while building Screen share 26 (source picker, #173). `fluxer_ui::run` takes no `FrameBus`, and no plan task adds one: Screen share 21 puts the capture thumbnails (`VideoKey::Source { id }`), the local capture, remote video and previews on a bus inside `apps/fluxer`, but nothing hands that bus to the UI. The picker therefore reads its thumbnails from `screens::main::screenshare::picker::State::frames` (`Option<FrameBus>`), which stays `None` in the app: every card shows its placeholder icon. The stream tiles (Screen share 23/24) will need the same bus. To do: - `fluxer_ui::run(..)` takes the runtime's `FrameBus` (from `apps/fluxer`) and stores it in `Local` (the picker's `State::frames`, and wherever 23/24 read it). - `Shell::subscription` adds `widgets::video::redraw_subscription(bus, keys)` for the keys on screen (the picker's `VideoKey::Source` of the listed sources while it is open), so a refreshed thumbnail is drawn without waiting for another event. Seen on the branch `screenshare-26-ui-source-picker` (base 40d3ea5).
charles added this to the Screen share milestone 2026-11-12 09:05:20 +00:00
Author
Owner

Fixed by 8d0b4ed (fluxer_ui::run takes the runtime FrameBus), merged to textchat in bea187b. Charles confirmed streaming works in the client (2026-11-14).

Fixed by 8d0b4ed (`fluxer_ui::run` takes the runtime FrameBus), merged to `textchat` in bea187b. Charles confirmed streaming works in the client (2026-11-14).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#237
No description provided.