Positive infinite duration isn't properly working on MSE in the glib (GStreamer) ports. When such a duration is set, nothing happens and the default zero duration remains. This can break some live streams. My test case was a live stream in a player based on dash.js 4.0.0. The duration is set to infinity (but remains as zero due to the bug) and an initial seek to the current (huge) position is done. The wrong duration has influence in the real seek target time used[1], so the seek may end up being done to the wrong time (before the buffered ranges in my case) and the playback never starts. [1] https://github.com/WebKit/WebKit/blob/a12c487/Source/WebCore/html/HTMLMediaElement.cpp#L3153
Created attachment 439721 [details] Patch
Comment on attachment 439721 [details] Patch LGTM, but let's wait for Alicia.
Committed r283309 (242334@main): <https://commits.webkit.org/242334@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439721 [details].
<rdar://problem/83715383>