Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed34a6360dca86b6b87975ba9d76ea70832deb14
      
https://github.com/WebKit/WebKit/commit/ed34a6360dca86b6b87975ba9d76ea70832deb14
  Author: Youenn Fablet <[email protected]>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/audio/AudioSession.cpp

  Log Message:
  -----------
  [iOS] Setting DOMAudioSession type to play-and-record does not always trigger 
video chat volume
https://bugs.webkit.org/show_bug.cgi?id=318784
rdar://problem/181625049

Reviewed by Jer Noble.

When a page starts to play video while the DOM audio session type is set to 
play-and-record, it may start with default mode instead of video chat mote.
In that case, it will quickly switch to video chat mode, but this may not 
always allow to trigger the video chat audio volume.
To make sure the video chat audio volume kicks in, we make sure that video chat 
mode is used whenever the DOM audio session type is set to play-and-record by 
web pages.

Manually tested via https://codepen.io/youennf/pen/dPNJBQY.

* Source/WebCore/platform/audio/AudioSession.cpp:
(WebCore::AudioSession::setCategoryOverride):

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



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

Reply via email to