[Webkit-unassigned] [Bug 173826] New: Heavily distorted audio when calling createMediaStreamSource multiple times

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 25 18:50:30 PDT 2017


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

            Bug ID: 173826
           Summary: Heavily distorted audio when calling
                    createMediaStreamSource multiple times
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andrew at tokbox.com

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.

-- 
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/20170626/da82ca05/attachment.html>


More information about the webkit-unassigned mailing list