[Webkit-unassigned] [Bug 276813] New: [Web Audio] Cannot change volume of media element source playing WebM Opus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 19 05:09:18 PDT 2024


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

            Bug ID: 276813
           Summary: [Web Audio] Cannot change volume of media element
                    source playing WebM Opus
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ashley at scirra.com
                CC: cdumez at apple.com

Minimal repro: https://downloads.scirra.com/labs/bugs/webmmediavol/

Steps to reproduce:
1. Press 'Play WebM'
2. Press 'Set volume low'

Observed result: no change in playback volume
Expected result: significantly lower playback volume

This only affects playback of WebM Opus audio. When playing MP4 AAC audio (press 'Play MP4' instead), it does correctly change the audio volume.

Description:

The repro sets up an AudioContext, and pipes an Audio element through it like this via calling createMediaElementSource():

MediaElementAudioSourceNode -> GainNode -> AudioContext destination

It then changes the volume of the GainNode after the MediaElementAudioSourceNode.

When playing WebM Opus, changing the volume of that GainNode has no effect on the playback volume. When playing MP4 AAC, it does change the playback volume.

Notes:

This affects our browser-based game creation tool Construct (www.construct.net).

It is also similar to issue 151589 which was filed back in 2015.

-- 
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/20240719/d2e96e0c/attachment.htm>


More information about the webkit-unassigned mailing list