[webkit-changes] [WebKit/WebKit] 5bd5f3: AirPods unmuting should not unmute camera if websi...

youennf noreply at github.com
Tue Oct 1 14:43:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5bd5f3476b1ad06164de083db5ed6166ffc9a88e
      https://github.com/WebKit/WebKit/commit/5bd5f3476b1ad06164de083db5ed6166ffc9a88e
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  AirPods unmuting should not unmute camera if website muted camera
https://bugs.webkit.org/show_bug.cgi?id=280692
rdar://problem/137065964

Reviewed by Eric Carlson.

Before the patch, if website muted camera and microphone,
AirPods unmuting would unmute both camera and microphone.
This was due to WebPageProxy::microphoneMuteStatusChanged unmuting microphone
and WebPageProxy::setMuted updating the website desired muting states.

Instead, we are now updating the website desired muting state for microphone in WebPageProxy::microphoneMuteStatusChanged
and skipping the website desired muting state update in WebPageProxy::setMuted.

Manually tested.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::microphoneMuteStatusChanged):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list