FCE-3589: react-client camera and microphone read the tsunami store - #592
Open
MiloszFilimowski wants to merge 1 commit into
Open
FCE-3589: react-client camera and microphone read the tsunami store#592MiloszFilimowski wants to merge 1 commit into
MiloszFilimowski wants to merge 1 commit into
Conversation
MiloszFilimowski
marked this pull request as ready for review
August 5, 2026 14:26
The provider now injects a WebDeviceManager (persistence adapted from the
persistLastDevice prop) into the tsunami client and renders the camera and
microphone contexts from store snapshots through thin adapters that preserve
the existing DeviceManager/TrackManager context shapes — useCamera,
useMicrophone, and useInitializeDevices bodies are untouched. DeviceError
instances convert to the legacy { name } plain objects at this boundary.
Screen share and custom sources stay on the existing hooks until their
controllers land. The superseded device stack (useMediaDevices,
useDeviceManager, useTrackManager, useTrackMiddleware, mediaInitializer,
constraints, bandwidth and track utils, parseUserMediaError) is deleted.
MiloszFilimowski
force-pushed
the
tsunami/07-react-devices-swap
branch
from
August 5, 2026 15:05
34acd47 to
f89f4b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #591.
Description
new WebDeviceManager({ persistence })(adapted from thepersistLastDeviceprop) into the tsunami client and renders the camera/microphone contexts from store snapshots via thin adapters that preserve the existingDeviceManager/TrackManagercontext shapes —useCamera,useMicrophone, anduseInitializeDeviceshook bodies are untouched.DeviceErrorinstances convert to the legacy{ name }plain objects at this boundary (the shape the public hooks expose today).useMediaDevices,useDeviceManager,useTrackManager,useTrackMiddleware,mediaInitializer,constraints,utils/track,utils/bandwidth,parseUserMediaError. Net −821 lines.Motivation and Context
The camera/microphone/init hook swap of FCE-3589, closing out the react-client side of FCE-3586/3588/3583. No public API change: 69/69 specs pass with spec files untouched — the camera (12), microphone (4), and initializeDevices (4) specs now drive the tsunami controllers end-to-end through the injected WebDeviceManager.
Documentation impact
Types of changes
not work as expected)