ehuamaniquispe

Results 3 comments of ehuamaniquispe

same questions, did you find the answer?

hello. here the solution await this.audioRecorderPlayer.addPlayBackListener((e) => { console.log(e.duration); console.log(e.currentPosition); this.setState({ currentPositionSec: e.currentPosition, currentDurationSec: e.duration, playTime: this.audioRecorderPlayer.mmssss( Math.floor(e.currentPosition), ), duration: this.audioRecorderPlayer.mmssss(Math.floor(e.duration)), }); if(e.currentPosition == e.duration){//checking if playback is complete //...