Bug 237134

Summary: RemoteCaptureSampleManager, UserMediaSampleCaptureManagerProxy create the RemoteVideoFrame incorrectly
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: MediaAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing
none
Patch for landing
none
Patch for landing none

Description Kimmo Kinnunen 2022-02-24 02:59:40 PST
RemoteCaptureSampleManager, UserMediaSampleCaptureManagerProxy create the RemoteVideoFrame in incorrectly
Comment 1 Kimmo Kinnunen 2022-02-24 03:12:42 PST
Created attachment 453088 [details]
Patch
Comment 2 youenn fablet 2022-02-24 05:36:37 PST
Comment on attachment 453088 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=453088&action=review

> Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:207
> +            m_connection->send(Messages::RemoteCaptureSampleManager::VideoSampleAvailable(m_id, WTFMove(properties), metadata), 0);

No need for WTFMove.

> Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:213
> +        m_connection->send(Messages::RemoteCaptureSampleManager::VideoSampleAvailableCV(m_id, WTFMove(*remoteSample), metadata), 0);

No need for WTFMove.
Comment 3 Kimmo Kinnunen 2022-02-25 05:17:33 PST
Created attachment 453203 [details]
Patch for landing
Comment 4 Kimmo Kinnunen 2022-02-25 05:23:47 PST
Created attachment 453204 [details]
Patch for landing
Comment 5 EWS 2022-02-26 00:47:48 PST
Tools/Scripts/svn-apply failed to apply attachment 453204 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Comment 6 Kimmo Kinnunen 2022-02-26 07:06:32 PST
Created attachment 453295 [details]
Patch for landing
Comment 7 EWS 2022-02-26 23:29:03 PST
Committed r290555 (247833@main): <https://commits.webkit.org/247833@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 453295 [details].
Comment 8 Radar WebKit Bug Importer 2022-02-26 23:30:21 PST
<rdar://problem/89522455>