react-native-sip icon indicating copy to clipboard operation
react-native-sip copied to clipboard

Adjust volume via System / User Interface - iOS

Open mofolo opened this issue 5 years ago • 2 comments

Hey guys. Thanks for such a great package. Found how to programmatically set the "RX" (Receiving) volume on iOS but would love to give the user the option to adjust this based on the system volume level.

This is the API that appears to change the receiving volume pjsua_conf_adjust_rx_level(info.conf_slot, <0-255>);

Is there a way to interface the volume with the system set volume level?

mofolo avatar Oct 14 '20 08:10 mofolo

D'oh, I just noticed that you can only adjust this using the volume of a call when you're actually in a call (using the physical volume rocker), and it's not effected by system settings. Hopefully this helps someone else.

mofolo avatar Oct 14 '20 08:10 mofolo

How are you using this module? I am using with callkeep but when I accept the call I get no audio only mic works.

GoncaloDuarte98 avatar Nov 15 '20 23:11 GoncaloDuarte98