Bug 233204

Summary: Connecting an AudioContext to a video causes the volume control to fail.
Product: WebKit Reporter: Leon <webkit-bugzilla>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, drousso, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Intel)   
OS: macOS 11   

Description Leon 2021-11-16 10:56:41 PST
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'));
Comment 1 Radar WebKit Bug Importer 2021-11-23 10:57:18 PST