react-native-audio-recorder-player
react-native-audio-recorder-player copied to clipboard
Error: mediaPlayer is null on seek
When the track finishes playing, if I try to seek player, I am getting error: Error: mediaPlayer is null on seek
"react-native-audio-recorder-player": "^3.5.1" "react-native": "0.67.4"
Platform: Android emulator
Expected behavior
It should allow me to seek player, after player finished playing the track
Actual behavior
When I seek player, I am getting error: Error: mediaPlayer is null on seek
Steps to reproduce the behavior
Try to seek player, when it finishes current track
This is currently only available when mediaPlayer has not stopped
. How about startPlayer
then use seeking?
@bekatd did you find a solution? also having this issue