Bug 173826

Summary: Heavily distorted audio when calling createMediaStreamSource multiple times
Product: WebKit Reporter: Andrew Morris <andrew>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Andrew Morris
Reported 2017-06-25 18:50:30 PDT
JSBin demo: https://output.jsbin.com/noyepif Summary: // Analyse the audio const streamSrc1 = audioCtx.createMediaStreamSource(stream); const analyser = audioCtx.createAnalyser(); streamSrc1.connect(analyser); // Play the audio const streamSrc2 = audioCtx.createMediaStreamSource(stream); streamSrc2.connect(audioCtx.destination); One solution is to use the same MediaStreamSource instead of creating multiple, but it doesn't seem like this should be necessary. Chrome and Firefox handle this without issue. This can occur for example when these operations are done in separate parts of the application.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-06-26 08:54:09 PDT
Note You need to log in before you can comment on or make changes to this bug.