ReadonlyStateThe current state.
ReadonlyState$The state, now and on every change. Completes on Dispose.
Stops both kinds and completes State$.
The live stream of a kind, or null while it is off. The same object across device switches.
Lists the input devices.
Starts capturing a kind, on deviceId when it is available. Always resolves; a failure is a result.
OptionaldeviceId: stringMoves a live kind to another device, keeping the same stream and the track's mute.
What a camera-and-microphone controller offers. LocalMediaController is the browser's; a host on another platform, or a test, can supply its own.