Selected audio output (speaker) device id, or null for the system
default. Consumers apply this to playback elements via setSinkId.
Whether local microphone is muted
Whether speaker/output is muted
Whether screen sharing is active
Whether local camera is muted/off
Local media state for the current user's devices.
Remarks
Tracks the mute/unmute state of local audio, video, and output, as well as screen sharing status.
Example
Media control buttons:
See
useLocalMedia for the hook to access and control local media