aws-samples / aws-samples/amazon-chime-react-native-demo

when the Bluetooth device disconnecting audioDeviceDidChangeWithFreshAudioDeviceList not triggering (only in IOS)

Open
#159 34 comments 0 reactions 0 assignees View on GitHub
bug iOS
Dominant language
Objective-C
Stars
106
Forks
24
PR merge metrics
No merged PRs in 30d

Description

```
- (void)audioDeviceDidChangeWithFreshAudioDeviceList:(NSArray * _Nonnull)freshAudioDeviceList
{
NSLog(@"test-ActiveAudio-list freshAudioDeviceList");
[_bridge configureActiveAudioDevice:freshAudioDeviceList];
}
```
Some times above function does not trigger when the Bluetooth device disconnects/turns off the Bluetooth
, but it triggers when the Bluetooth device connecting

**Test environment Info (please complete the following information):**
- Device: iPhone 7
- OS: IOS 15.6.1
- Version amazon-chime-sdk:0.21.2
- Version amazon-chime-sdk-media: 0.17.2

Contributor guide

Open the contributing guide

Research direction

Start at audioDeviceDidChangeWithFreshAudioDeviceList: and reproduce the Bluetooth disconnect case on the reported iPhone 7 and iOS 15.6.1 environment. Compare the callback behavior for connecting versus disconnecting, and verify that the audio device list is updated when Bluetooth is turned off.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.