Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 22a5e4f2aa67f7103a6d4ad05e72717cfca4261c
      
https://github.com/WebKit/WebKit/commit/22a5e4f2aa67f7103a6d4ad05e72717cfca4261c
  Author: Youenn Fablet <[email protected]>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm

  Log Message:
  -----------
  OverconstrainedError in getUserMedia on iOS 18.1 Simulator
rdar://152938326
https://bugs.webkit.org/show_bug.cgi?id=293949

Reviewed by Jean-Yves Avenard.

IOS Simulator does not have a camera but AVCaptureDevice systemPreferredCamera 
may not be null.
To prevent the case of exposing a camera that is not there, we do not use 
systemPreferredCamera in iOS simulator.

* Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm:
(WebCore::AVCaptureDeviceManager::retrieveCaptureDevices):

Canonical link: https://commits.webkit.org/296083@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to