WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
278726
[MSE][GStreamer] Support markEndOfStream() before appendBuffer()
https://bugs.webkit.org/show_bug.cgi?id=278726
Summary
[MSE][GStreamer] Support markEndOfStream() before appendBuffer()
Enrique Ocaña
Reported
2024-08-27 07:10:03 PDT
WebKit MSE can't complete playback when JavaScript performs MediaSource.markEndOfStream() before appending any samples with SourceBuffer.appendBuffer(). That's on the current GStreamer version used in the test bots (gst 1.24). On older GStreamer versions (eg: 1.18.6), parsebin (from the playback pipeline) emits an unrecoverable error as well. See:
https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/1366
Attachments
Add attachment
proposed patch, testcase, etc.
Enrique Ocaña
Comment 1
2024-08-27 09:11:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32768
EWS
Comment 2
2024-08-30 03:37:52 PDT
Committed
282958@main
(a1d1ac683b44): <
https://commits.webkit.org/282958@main
> Reviewed commits have been landed. Closing PR #32768 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-08-30 03:38:12 PDT
<
rdar://problem/135006772
>
Enrique Ocaña
Comment 4
2025-09-23 09:44:11 PDT
This issue has reappeared downstream (wpe-2.46, GStreamer 1.18) and also has been reproduced upstream when the test case is exercised in a loop and the race condition of an error occurs while errors are ignored, but the GstMessage with the error takes a moment to propagate to the main thread (when the errors are no longer ignored). See:
https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/1558
Enrique Ocaña
Comment 5
2025-09-23 11:44:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51211
EWS
Comment 6
2025-09-26 16:02:30 PDT
Committed
300605@main
(b1ff5913b211): <
https://commits.webkit.org/300605@main
> Reviewed commits have been landed. Closing PR #51211 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug