aws / aws/amazon-chime-sdk-android

Audio output device is not switching to built-in speaker in android 13 One plus 10 Pro and real me 9

Open
#588 8 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
113
Forks
60
Avg merge
40m
Merged PRs (30d)
2

Description

Audio output device is not switching to build in speaker
Upon selecting the built in speaker in android 13, currently audio output is not changing.
AudioVideoFacade instance's active device actually resets to handset even after setting different device by "chooseAudioDevice" method.
Below is the link of video:
Link: https://stack.rishabhsoft.com/pydio/public/dbfc59fd2ea08d4

As shown in video, the output of audio is set to handset, upon changing the same, it is auto setting to handset.

Steps to reproduce the behavior:
1. Click speaker icon
2. Select built in speaker media device
3. Again click on speaker icon
4. See still handset is selected

Expected behavior :
Built in speaker should be selected and audio should be moved on speaker.

Logs : Please check the below link for logs :
https://stack.rishabhsoft.com/pydio/public/1d66414dd47b652

Test environment Info :
- Device: One plus 10 Pro and real me 9.
- OS: Android 13
- Version amazon-chime-sdk: 0.18.3
- Version amazon-chime-sdk-media: 0.18.3

Contributor guide

Open the contributing guide

Research direction

Start with AudioVideoFacade and the chooseAudioDevice flow, then review the linked logs and reproduce on Android 13 using a OnePlus 10 Pro or realme 9. Done means selecting the built-in speaker persists as the active device and audio moves to that speaker instead of resetting to handset.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
audio-video-rtc, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.