[Webkit-unassigned] [Bug 252746] New: Inconsistent audio playback behaviour when device is muted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 07:51:49 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252746

            Bug ID: 252746
           Summary: Inconsistent audio playback behaviour when device is
                    muted
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeremy at adactio.com
                CC: cdumez at apple.com

The way that audio playback is handled when a device is set to silent is inconsistent between audio/video elements and the Web Audio API.

Steps to reproduce:

1.

* On an iPhone, make sure volume isn't set to zero
* But make sure the ring/silent switch is set to silent.
* Press play on a video or audio element.
* The "play video" button here is an example:
https://thesession.org/tunes/21871#comment943577

Observed behaviour:

You can hear the sound.

2.

* On an iPhone, make sure volume isn't set to zero
* But make sure the ring/silent switch is set to silent.
* Press play on an element that triggers the Web Audio API.
* The "play audio" button here is an example:
https://thesession.org/tunes/21871#setting45439

Observed behaviour:

You can't hear the sound.

Expected behaviour:

The two situations should give the same results. Either the sound should be audible in both cases, or the sound not be audible in both cases.

Some background: https://adactio.com/journal/19929

The issue with Web Audio silence on mute was raised (and closed) here: https://bugs.webkit.org/show_bug.cgi?id=251532

This is a different but related issue: if the Web Audio playback *should* be silenced by the ring/silence switch being enabled, then shouldn't that apply to audio/video elements as well?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230222/2e322e34/attachment-0001.htm>


More information about the webkit-unassigned mailing list