The GStreamer pipewiresrc element from 0.3.51 has invalid buffer memory bug which was fixed in the master branch.
Pull request: https://github.com/WebKit/WebKit/pull/2177
Committed 252230@main (2714a632e824): <https://commits.webkit.org/252230@main> Reviewed commits have been landed. Closing PR #2177 and removing active labels.