RESOLVED FIXED295289
[MSE][GStreamer] Make fake preroll asynchronous
https://bugs.webkit.org/show_bug.cgi?id=295289
Summary [MSE][GStreamer] Make fake preroll asynchronous
Enrique Ocaña
Reported 2025-07-01 10:10:30 PDT
With the current implementation the whole seek flow as executed in a single main loop cycle. As a result, the JS app had no chance to spot that video.seeking attribute is ever set to true. Also some apps listen to video.onseeking and expects that video.seeking attribute to be true in such case. That wasn't a valid assumption. Also, the behaviour isn't the same in <video> elements that are audio-only as in <audio> elements. See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1232 https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1527
Attachments
Enrique Ocaña
Comment 1 2025-07-01 10:12:40 PDT
This happens on the Amlogic platform, that doesn't have asynchronous state changes on its audio sink. Spotify is broken there because of this problem.
Enrique Ocaña
Comment 2 2025-07-01 10:19:18 PDT
EWS
Comment 3 2025-08-05 10:09:39 PDT
Committed 298239@main (ff888612263c): <https://commits.webkit.org/298239@main> Reviewed commits have been landed. Closing PR #47446 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2025-08-05 10:10:15 PDT
Note You need to log in before you can comment on or make changes to this bug.