Open Inrego opened 4 years ago
This is probably because in ExoPlayer, position hasn't been set to the current progress. That is only set when starting playback.
Solution could be to check if playback has been started, and if not, then just change stored progress rather than actually seeking. Another solution could be to make sure to also seek when initialising - that could maybe also reduce the delay from pressing play to playback actually starting, resulting in a better user experience. However, seeking might cause ExoPlayer to actually start playing - I'll have to check if that's the case.
If using the rewind/forward buttons before starting playback, position is reset to 0.