react-native-audio-recorder-player
react-native-audio-recorder-player copied to clipboard
Stop and pause player not working
const audioRecorderPlayer = new AudioRecorderPlayer();
const onPausePlay = async () => { await audioRecorderPlayer.audioRecorderPlayer.pausePlayer(); };
const onStopPlay = async () => { console.log('onStopPlay'); await audioRecorderPlayer.stopPlayer(); audioRecorderPlayer.removePlayBackListener(); };
This two methods are not working, audio is continuous play on background, in both android and ios