wolenetz / mse-for-webcodecs

Explainer for additions to MSE API to support buffering and playing WebCodecs media
22 stars 1 forks source link

Setting media element timeline to 0 at end of stream; seeking #3

Closed guest271314 closed 1 year ago

guest271314 commented 2 years ago

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.

Screenshot_2022-07-17_15-27-01

How to fix that?