When endOfStream() is called the timeline of controls does not get reset to 0.
If the audio is seeked the timeline can end before the complete duration of the stream.
Example: The audio duration is 18:26. If the controls are seeked, or when the stream ends and playback restarts at the point where the user clicks on the timeline, the timeline will not reach 1826, in this case only reaches 7:50.
When
endOfStream()
is called the timeline of controls does not get reset to 0.If the audio is seeked the timeline can end before the complete duration of the stream.
Example: The audio duration is 18:26. If the controls are seeked, or when the stream ends and playback restarts at the point where the user clicks on the timeline, the timeline will not reach 1826, in this case only reaches 7:50.
How to fix that?