Closed Bug 1158074 Opened 10 years ago Closed 10 years ago

MediaStreamSourceNode stops producing audio if not globally referenced

Categories

(Core :: Web Audio, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 934512

People

(Reporter: gordon, Unassigned)

Details

(1) Run http://jsfiddle.net/kvr36w9d/ (with headphones to avoid feedback). (2) Listen. (3) Do some other things in Firefox. In particular, trigger memory usage minimization in about:memory. Expect: Hear microphone input indefinitely. Actual: Microphone input goes silent after some time, especially after triggering memory usage minimization. Workaround: Keep a global reference the MediaStreamSourceNode or to the MediaStream.
Perhaps interestingly, neither forcing a GC nor a CC causes the behavior.
Do you have any idea why this might happen, padenot?
Flags: needinfo?(padenot)
Status: UNCONFIRMED → NEW
Component: WebRTC → Web Audio
Ever confirmed: true
Nope, but here is a dupe with more info.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(padenot)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.