Bug 281366
| Summary: | AudioSampleBufferCompressor and VideoSampleBufferCompressor's flush should be asynchronous. | ||
|---|---|---|---|
| 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]
Right now they do a sync dispatch blocking the main thread while the encoders are being flushed finishing the compression of remaining samples.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/137794013>
Jean-Yves Avenard [:jya]
[1] https://searchfox.org/wubkat/rev/e17ffe7b5bd3105bdd72617c07655ee4f2d0fdd4/Source/WebCore/platform/mediarecorder/cocoa/AudioSampleBufferCompressor.mm#96-106
[2] https://searchfox.org/wubkat/rev/e17ffe7b5bd3105bdd72617c07655ee4f2d0fdd4/Source/WebCore/platform/mediarecorder/cocoa/VideoSampleBufferCompressor.mm#101-113
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/35097
EWS
Committed 285158@main (6128cbd4d240): <https://commits.webkit.org/285158@main>
Reviewed commits have been landed. Closing PR #35097 and removing active labels.