aws / aws/amazon-chime-sdk-android
Upgrade from 0.18.3 to 0.25.3 -- can't connect to live video session.
- Dominant language
- Kotlin
- Stars
- 113
- Forks
- 60
- Avg merge
- 40m
- Merged PRs (30d)
- 2
Description
**Describe the bug**
After upgrading from android sdk 0.18.3 to 0.25.3 to be 16KB alignment compatible, we can no longer connect to our existing service.
**To Reproduce**
Steps to reproduce the behavior:
**Expected behavior**
We should connect to current service as what works when releasing client with 0.18.3.
**Logs**
13:48:03.806 E Failed to set VoiceFocus to true; audio client state is INITIALIZED
13:48:03.806 E newrelic: {level=ERROR,tag=DefaultAudioClientController,message=Failed to set VoiceFocus to true; audio client state is INITIALIZED}
13:48:03.929 E failed to init xtl_conn_rec
13:48:03.929 E newrelic: {level=ERROR,tag=DefaultAudioClientObserver,message=failed to init xtl_conn_rec
}
13:48:03.929 E failed to setup session; err=-1
13:48:03.929 E newrelic: {level=ERROR,tag=DefaultAudioClientObserver,message=failed to setup session; err=-1
}
13:48:03.929 E FAILED STARTING AUDIO CLIENT SESSION
13:48:03.930 E Failed to start audio session. Response code: -1
13:48:03.930 E newrelic: {level=ERROR,tag=DefaultAudioClientController,message=Failed to start audio session. Response code: -1}
**Screenshots**
I
**Test environment Info (please complete the following information):**
- Device: [e.g. S24 - 16, A20 - 10, emulator - Pixel 9 - 36]
- OS: [e.g. Android 10]
- Version amazon-chime-sdk: [e.g. 0.25.3]
- Version amazon-chime-sdk-media: [N/A]
- Can you reproduce this in the demo app? - Haven't tried. We already were working with 0.18.3
**If you are reporting a crash:**
N/A - no crash, just DefaultAudioClientController error messages.
**Additional context**
Add any other context about the problem here.
*Note: GitHub issues are not a substitute for customer support. Please open a support case if the issue is important to you.*
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html
Contributor guide
Research direction
Start by reproducing the upgrade from Android SDK 0.18.3 to 0.25.3, first checking the demo app as suggested and collecting the missing device, OS, and SDK details. Trace the logged audio-session failures, including failed init xtl_conn_rec and the INITIALIZED VoiceFocus state, and consider the issue done when the upgraded client connects to the existing live service without those errors.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100