Bug 282797
Summary: | requestVideoFrameCallback never calls its callback if the window is hidden. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jean-Yves Avenard [:jya]
This affects also WebKitTestRunner as it is not showing the window.
Our implementation of requestVideoFrameCallback relies on `[AVSampleBufferDisplayLayer copyDisplayedPixelBuffer]` to return an image. But this will always return null if the video image didn't actually get rendered (such as when the WKTR window isn't showing)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/139481527>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/36586
Jean-Yves Avenard [:jya]
<rdar://problem/139910776>
EWS
Committed 286853@main (865a4038f9b5): <https://commits.webkit.org/286853@main>
Reviewed commits have been landed. Closing PR #36586 and removing active labels.