Too slow update, seek is not updating and pause is worked but after few seconds
I think only play and pause working
simply I set state to update src from api
if (data) {
const blob = new Blob([data], { type: "audio/mpeg" });
const url = URL.createObjectURL(blob);
setSrc(url);
setPlay(true);
}
And player is playing audio file well but onPause, onPlay, onEnded, onListen is not working.
Even seek is not moving and playerRef.current.audio still not update
I have no idea how to patch this..
Describe the bug
Too slow update, seek is not updating and pause is worked but after few seconds I think only play and pause working
simply I set state to update src from api
And player is playing audio file well but onPause, onPlay, onEnded, onListen is not working. Even seek is not moving and playerRef.current.audio still not update I have no idea how to patch this..
Environment