[Webkit-unassigned] [Bug 268750] Exiting of pip mode does not render well for for MediaStream videos

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 13 03:27:23 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=268750

--- Comment #3 from youenn fablet <youennf at gmail.com> ---
Test page that does not work:
https://jsfiddle.net/wr9f4ez6/

This does not repro in some other pages like https://webrtc.github.io/samples/src/content/getusermedia/gum/ with controls=true added via web inspector to trigger pip.

When it does work, the GPUProcess VideoLayerManagerObjC frame is getting updated.
When it does not work, the GPUProcess VideoLayerManagerObjC frame does not get updated.

[WebAVPlayerLayer layoutSublayers] (and resolveBounds) are being called when exiting pip mode.

In the bad case, [WebAVPlayerLayer layoutSublayers] bails out early: "targetVideoFrame (", _targetVideoFrame, ") is essentially equal to videoSublayer.frame, bailing.

In the correct case, it goes through and triggers resolveBounds.
The frame check size is not valid by 1 pixel, so I am not sure that this works as expected, vs by chance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240313/e099c31d/attachment-0001.htm>


More information about the webkit-unassigned mailing list