[Webkit-unassigned] [Bug 264473] No sound from HTMLAudioElement when navigator.audioSession.type is set to "transient" or "transient-solo"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 9 00:04:18 PST 2024


youenn fablet <youennf at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |youennf at gmail.com
         Resolution|---                         |INVALID

--- Comment #2 from youenn fablet <youennf at gmail.com> ---
I had a try on iOS 17.4 and it seems to work as expected, using https://jsfiddle.net/e9ahcb35/.

Setting "transient" triggers using https://developer.apple.com/documentation/avfaudio/avaudiosession/category/1616560-ambient.

If the silent switch is on, video is muted, otherwise it is not.
Maybe that is what you experienced?

As of mixing with other apps, I tried the following:
1. Launch music app
2. Open https://jsfiddle.net/e9ahcb35/ and play.
I can hear both audio in that case.

If the page is backgrounded, audio is stopped, which seems expected as well.

Marking as Invalid although it should really be "Behave as expected".

@Danny, feel free to reopen the bug especially if there is a particular point I missed.

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/20240309/06aeb999/attachment.htm>

More information about the webkit-unassigned mailing list