Bug 204945

Summary: Support different resolutions for video tracks captured from UIProcess
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, ews-watchlist, glenn, hta, jbedard, jer.noble, jlewis3, philipj, sergio, tommyw, tsavell, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch for landing none

Description youenn fablet 2019-12-06 05:01:29 PST
Support different resolutions for video tracks captured from UIProcess
Comment 1 youenn fablet 2019-12-06 05:08:59 PST
Created attachment 385006 [details]
Patch
Comment 2 youenn fablet 2019-12-06 07:48:29 PST
Created attachment 385012 [details]
Patch
Comment 3 youenn fablet 2019-12-06 09:03:54 PST
Created attachment 385019 [details]
Patch
Comment 4 Eric Carlson 2019-12-06 09:47:49 PST
Comment on attachment 385019 [details]
Patch

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

> Source/WebCore/platform/mediastream/RealtimeVideoCaptureSource.cpp:404
> +        if (m_imageTransferSession) {

It is probably worth logging if m_imageTransferSession is NULL at this point.
Comment 5 Eric Carlson 2019-12-06 09:48:18 PST
Very nice!
Comment 6 youenn fablet 2019-12-08 08:08:43 PST
Created attachment 385122 [details]
Patch for landing
Comment 7 WebKit Commit Bot 2019-12-08 11:10:10 PST
Comment on attachment 385122 [details]
Patch for landing

Clearing flags on attachment: 385122

Committed r253275: <https://trac.webkit.org/changeset/253275>
Comment 8 WebKit Commit Bot 2019-12-08 11:10:12 PST
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2019-12-08 11:11:35 PST
<rdar://problem/57735210>
Comment 10 Jonathan Bedard 2019-12-09 09:02:28 PST
Pretty confident this caused a layout test regression on Mac:

https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2Fmediastreamtrack-video-clone.html&platform=mac
Comment 11 youenn fablet 2019-12-09 09:21:54 PST
See https://bugs.webkit.org/show_bug.cgi?id=205006