Skip to content

Media input device not switching when track is muted via MediaDeviceSelect menu #1134

@Radiaxx

Description

@Radiaxx

Select which package(s) are affected

@livekit/components-react

Describe the bug

Issue when attempting to change the audio or video input device using the default control bar while the corresponding track is muted.

Reproduction

When the track is muted, opening the MediaDeviceSelect menu and selecting a different input device does not result in any change. The menu remains open, and the selected device is not activated.

Interestingly, if I unmute the track after selecting a new device, the input switches to the newly selected device. However, there's no visual feedback or indication of this change until the track is unmuted.

This behavior is reproducible in the LiveKit Meet web demo: https://meet.livekit.io/

Logs

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions