Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2416ed8f257fc9151b8c8566e39cc4728a5c7e31
      
https://github.com/WebKit/WebKit/commit/2416ed8f257fc9151b8c8566e39cc4728a5c7e31
  Author: Youenn Fablet <[email protected]>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm

  Log Message:
  -----------
  [iOS] audio level switches to VC level when starting microphone capture even 
if audioSession type is set to 'play-and-record' before microphone capture
rdar://125073697
https://bugs.webkit.org/show_bug.cgi?id=271305

Reviewed by Eric Carlson.

Make sure to always use VideoChat mode when AudioSession category is play and 
record.
This ensures that, when DOMAudioSession.type is set to "play-and-record", we 
directly use the VC audio volume, even before starting to caputre microphone.

* Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm:
(WebCore::MediaSessionManagerCocoa::updateSessionState):

Canonical link: https://commits.webkit.org/276988@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