RESOLVED INVALID 147014
Make MediaPlayerPrivateMediaStreamAVFObjC rely on pre rendered platformLayers
https://bugs.webkit.org/show_bug.cgi?id=147014
Summary Make MediaPlayerPrivateMediaStreamAVFObjC rely on pre rendered platformLayers
Matthew Daiter
Reported 2015-07-16 14:04:57 PDT
Currently, the MediaPlayerPrivateMediaStreamAVFObjC class relies on generating PlatformLayers on the fly from calls to the AVVideoPreviewCaptureLayer class. Switching over to an easier method to make sure that the system can easily grab rendered images to display from a more efficient method of grabbing frames from the camera wrapper class.
Attachments
Patch (2.14 KB, patch)
2015-07-16 14:16 PDT, Matthew Daiter
no flags
Radar WebKit Bug Importer
Comment 1 2015-07-16 14:07:24 PDT
Matthew Daiter
Comment 2 2015-07-16 14:16:32 PDT
Brent Fulgham
Comment 3 2015-07-22 09:47:51 PDT
Comment on attachment 256925 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256925&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:178 > + return (PlatformLayer*)static_cast<AVVideoCaptureSource*>(m_MediaStreamPrivate->client()->getVideoTracks().at(0)->source())->previewLayer(); Why are you removing the FIXME comment? this is still just getting the first webcam, isn't it? Or is this post-user-selection?
Matthew Daiter
Comment 4 2015-07-22 09:49:55 PDT
Comment on attachment 256925 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256925&action=review >> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:178 >> + return (PlatformLayer*)static_cast<AVVideoCaptureSource*>(m_MediaStreamPrivate->client()->getVideoTracks().at(0)->source())->previewLayer(); > > Why are you removing the FIXME comment? this is still just getting the first webcam, isn't it? Or is this post-user-selection? This is actually outdated. The getVideoTracks() and getAudioTracks() removal bug should take care of this, so that we don't need to check getVideoTracks().
Note You need to log in before you can comment on or make changes to this bug.