How to change the speaker during a conversation with react-native-webrtc

how to change the speaker during a conversation with react-native-webrtc

Do you mean turning the loud speaker on and off?
Have a look over here.

If that doesn’t help, can you be more specific?

Yes, you understood correctly, but on your link I did not find how to turn on the loudspeaker

Should be as simple as the following.

import InCallManager from 'react-native-incall-manager';

InCallManager.setSpeakerphoneOn( true );

You can also use InCallManager.setForceSpeakerphoneOn to force it on and off.

1 Like