RESOLVED FIXED 231017
[MSE][GStreamer] Allow infinite duration on MSE
https://bugs.webkit.org/show_bug.cgi?id=231017
Summary [MSE][GStreamer] Allow infinite duration on MSE
Enrique Ocaña
Reported 2021-09-30 03:34:44 PDT
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
Attachments
Patch (5.83 KB, patch)
2021-09-30 03:44 PDT, Enrique Ocaña
no flags
Enrique Ocaña
Comment 1 2021-09-30 03:44:48 PDT
Xabier Rodríguez Calvar
Comment 2 2021-09-30 03:52:42 PDT
Comment on attachment 439721 [details] Patch LGTM, but let's wait for Alicia.
EWS
Comment 3 2021-09-30 05:47:36 PDT
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].
Radar WebKit Bug Importer
Comment 4 2021-09-30 05:48:16 PDT
Note You need to log in before you can comment on or make changes to this bug.