Bug 281107
| Summary: | AudioSampleBufferCompressor and VideoSampleBufferCompressor are using sync dispatch | ||
|---|---|---|---|
| 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]
Whenever the audio and video compressors are enqueuing a frame, they do a sync dispatch to their respective task queue. This is inefficient and unnecessarily block the main thread.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/137560529>
Jean-Yves Avenard [:jya]
[1] https://searchfox.org/wubkat/rev/8ccdd1d664eb6a8af9e1d84d6726cb7e96fe2247/Source/WebCore/platform/mediarecorder/cocoa/AudioSampleBufferCompressor.mm#540
[2] https://searchfox.org/wubkat/rev/8ccdd1d664eb6a8af9e1d84d6726cb7e96fe2247/Source/WebCore/platform/mediarecorder/cocoa/VideoSampleBufferCompressor.mm#229
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/34899
EWS
Committed 284926@main (f40822a656dc): <https://commits.webkit.org/284926@main>
Reviewed commits have been landed. Closing PR #34899 and removing active labels.