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

A React Native demo application for Android and iOS using the Amazon Chime SDK.
MIT No Attribution
102 stars 24 forks source link

How can we switch between inEar and External speaker? #125

Closed sthapa1 closed 2 years ago

sthapa1 commented 2 years ago

When I run the react native demo app, I can only access inear speaker but I can't switch to loudspeaker mode. How can we achieve that?

alnlau commented 2 years ago

Hello,

You can use chooseAudioDevice and listAudioDevices to do this (Android iOS). You will also have to update the bridge so that you can call these from React Native (Android iOS). Let us know if you have further questions

sthapa1 commented 2 years ago

@alnlau I am new to Native android and IOS. Can you please send me just the steps to follow like in https://github.com/aws-samples/amazon-chime-react-native-demo/issues/122#issue-1096035760. That will help a lot. Thanks

hokyungh commented 2 years ago

Hi @sthapa1 could you take a look at https://github.com/aws-samples/amazon-chime-react-native-demo/pull/93?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.