Skip to content

FCE-3589: peer views and sandbox move behind the tsunami core - #596

Open
MiloszFilimowski wants to merge 1 commit into
tsunami/09-react-screenshare-swapfrom
tsunami/10-peer-views-sandbox
Open

FCE-3589: peer views and sandbox move behind the tsunami core#596
MiloszFilimowski wants to merge 1 commit into
tsunami/09-react-screenshare-swapfrom
tsunami/10-peer-views-sandbox

Conversation

@MiloszFilimowski

@MiloszFilimowski MiloszFilimowski commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #595.

Description

  • state/peerViews.ts: derives the local/remote peer track views (camera, microphone, screen-share, custom tracks per peer) from ClientState, so usePeers becomes a thin adapter over the store.
  • The sandbox HTTP helpers and fishjam URL resolution move into tsunami — one implementation for all framework consumers; react-client's useSandbox delegates and its local fishjamUrl/errors utilities are deleted.

Motivation and Context

Continues the hook-thinning of FCE-3589: view derivation belongs to the core so non-React consumers get identical peer views.

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

peerViews derives the localPeer/remotePeers track views (camera, microphone,
screen-share, custom tracks per peer) from ClientState, so usePeers becomes
a thin adapter. The sandbox HTTP helpers and fishjam URL resolution move
into tsunami (single implementation for all framework consumers);
react-client's useSandbox delegates to them and its local fishjamUrl/errors
utilities are deleted.
@MiloszFilimowski MiloszFilimowski changed the title tsunami: peer views and sandbox move behind the core FCE-3589: peer views and sandbox move behind the tsunami core Aug 11, 2026
@linear

linear Bot commented Aug 11, 2026

Copy link
Copy Markdown

FCE-3589

@MiloszFilimowski
MiloszFilimowski marked this pull request as ready for review August 11, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant