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.
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 thestop()
method is invoked, But after that, the voice message does not play through the loudspeaker in normal mode.