Skip to content

Audio Device Change Listener Initially Reports Incorrect Selected Device Before Connected Device List Updates #927

@Kesavcontus

Description

@Kesavcontus

Describe the bug :
During an audio call, the audio device list is not updated immediately. Initially, the selected audio device is shown as Speaker/Microphone, and only after a few seconds the connected device list gets updated.
For example, when a Bluetooth device or wired headphone is connected before making the call, the audio device change listener initially reports Speaker/Microphone as the selected device. After a few seconds, the connected device list and selected routing device are updated to the correct connected device.

To Reproduce :
Steps to reproduce the behavior:

1.Connect a Bluetooth device or wired headphone.
2.Start an audio call.
3.Observe the audio device change listener callback.
4.Initially, the callback reports Speaker/Microphone as the selected device instead of the connected device.
5.After a few seconds, the connected device list and selected device are updated correctly.
6.Observe the issue.

Expected behavior :
The connected audio device should be detected and reported immediately when the call starts. The selected routing device and the detected connected device should always match from the initial callback itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions