react-native-webrtc / react-native-incall-manager

Handling media-routes/sensors/events during a audio/video chat on React Native
ISC License
547 stars 191 forks source link

Proximity sensor also stopping after calling stop() method in Samsung S20FE and iPhone #200

Open pritthishnath opened 2 years ago

pritthishnath commented 2 years ago

Before receiving an incoming call the proximity sensor works fine, e.g., WhatsApp or Signal voice message is loudspeaker in normal mode, and the volume is low when it is in proximity mode. When receiving an incoming WebRTC the start({media: "audio"}) method is called and when the call is over the stop() method is invoked, But after that, the voice message does not play through the loudspeaker in normal mode.