Closed Bug 1675340 Opened 4 years ago Closed 4 years ago

Broken play speed control after using audioContext.createMediaElementSource

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 83
defect

Tracking

()

RESOLVED DUPLICATE of bug 1517199

People

(Reporter: gcnt, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

I'm using <video> tag and trying to control speed of playback. Working fine, but also I want to control sound pan. So, I used this code:

                const AudioContext = window.AudioContext;
                const audioContext = new AudioContext();
                const audioElement = document.getElementById('myVideo');
                const track = audioContext.createMediaElementSource(audioElement);
                const stereoNode = new StereoPannerNode(audioContext, { pan: 0 });
                track.connect(stereoNode).connect(audioContext.destination);

Actual results:

playbackRate of <video> stop working (always playing on x1 speed)

Expected results:

Sound pan and playback speed control must work simultaneously.

Component: Untriaged → Web Audio
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Component: Web Audio → Audio/Video: Playback
You need to log in before you can comment on or make changes to this bug.