-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] AVVideoCaptureSource is not handling the case of another applic…
…ation changing the device videoZoomFactor https://bugs.webkit.org/show_bug.cgi?id=271643 rdar://125351159 Reviewed by Eric Carlson. When another application is changing the device zoom, it got access to the device so AVVideoCaptureSource is not running. When AVVideoCaptureSource restarts, we just have to reapply the device zoom. Remove AVVideoCaptureSource::m_appliedZoom since the device videoZoomFactor can change when other iOS apps get access to the camera. We thus always compare the zoom to be applied with the device zoom. * Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.h: * Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::setSessionSizeFrameRateAndZoom): Canonical link: https://commits.webkit.org/276731@main
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters