RESOLVED FIXED 238028
[GStreamer] Add stop position to the range request
https://bugs.webkit.org/show_bug.cgi?id=238028
Summary [GStreamer] Add stop position to the range request
Enrique Ocaña
Reported 2022-03-17 10:54:26 PDT
Currently, the range requests performed by WebKitWebSourceGStreamer indicate a range start position but not a range stop one, even though it's set in the internal members->stopPosition attribute.
Attachments
Patch (2.82 KB, patch)
2022-03-17 11:29 PDT, Enrique Ocaña
no flags
Patch (2.82 KB, patch)
2022-03-18 05:46 PDT, Enrique Ocaña
no flags
Enrique Ocaña
Comment 1 2022-03-17 11:29:24 PDT
Philippe Normand
Comment 2 2022-03-17 11:48:34 PDT
Comment on attachment 454997 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=454997&action=review > Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:680 > + formatedRange.reset(g_strdup_printf("bytes=%" G_GUINT64_FORMAT "-%" G_GUINT64_FORMAT, members->requestedPosition, (members->stopPosition > 0) ? members->stopPosition - 1 : 0)); The wrapping parentheses are not needed.
Adam Podolnick
Comment 3 2022-03-17 13:59:30 PDT
Is this a regression of this: https://bugs.webkit.org/show_bug.cgi?id=236401 ? We have a customer that's having an issue playing videos within an embedded WebView in FileMaker Pro on macOS 12.3. While this bug appears to have been fixed in Safari proper, it looks like it's still broken in embedded WebViews. If this isn't related, let me know and I'll file a new bug.
Philippe Normand
Comment 4 2022-03-17 14:35:25 PDT
The GStreamer backend is not used by the mac ports, so I doubt this patch will solve your issues.
Enrique Ocaña
Comment 5 2022-03-18 05:46:00 PDT
EWS
Comment 6 2022-03-18 08:35:17 PDT
Found 2 new test failures: imported/w3c/web-platform-tests/workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-cross-origin.sub.any.worker.html, imported/w3c/web-platform-tests/workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-redirect-to-cross-origin.sub.any.worker.html
EWS
Comment 7 2022-03-18 09:46:58 PDT
Committed r291487 (248601@main): <https://commits.webkit.org/248601@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455090 [details].
Radar WebKit Bug Importer
Comment 8 2022-03-18 09:47:19 PDT
Note You need to log in before you can comment on or make changes to this bug.