[Webkit-unassigned] [Bug 233204] New: Connecting an AudioContext to a video causes the volume control to fail.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 16 10:56:41 PST 2021


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

            Bug ID: 233204
           Summary: Connecting an AudioContext to a video causes the
                    volume control to fail.
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit-bugzilla at leonekmi.fr
                CC: cdumez at apple.com

When you place a video on a webpage and then connect an AudioContext to it, the volume control is not working anymore, as opposed to others browsers in the industry.

This breaks ability to change volume easily while applying live audio modifications to a video.

Here is a simple example with a gain node:

let context = new window.AudioContext();
let gain_node = context.createGain();
let source = context.createMediaElementSource(document.getElementById('video'));
source.connect(gain_node);
gain_node.connect(context.destination);

-- 
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/20211116/9a71a3c6/attachment-0001.htm>


More information about the webkit-unassigned mailing list