Giter Site home page Giter Site logo

webrtc-audio-bug-repro's Introduction

Chrome webrtc audio bug

It would seem that if you don't render all remote peer streams then chrome will merge audio streams into the rendered one.

Steps to reproduce:

  1. Open http://latentflip.com/webrtc-audio-bug-repro in three tabs across at least two computers (you can't validate the bug on only one computer)
  2. Allow media access, and from the input at the top join the same room on each (choose something pseudo-random, but typable).
  3. You should now have three tabs each showing their local video stream, and each with two buttons underneath (to represent the other two peers).
  4. You should currently hear no audio at all, as the only media we are rendering is local streams, which are muted. (which is correct)
  5. Now, on one of the tabs, enable one of the video streams. important: If you are just using two computers, do it on one of the tabs on the computer which has two tabs open.
  6. So we are now rendering one remote peer, on that tab, and no remote peers anywhere else.
  7. Now tap the microphone on both computers (or if you are using three computers, tap the microphones on the two which are not rendering any remote peers). You'll hear audio from both of the microphones, even though we're only rendering one video this is the bug. If you right-click pause that video, you'll note that it does indeed mute both remote audio sources.
  • So it would seem that chrome is mixing remote audio streams together if they are not all being rendered
  1. To examine the bug further. Render the other remote video in that tab. You'll now see that they are being rendered correctly, i.e. muting one video only mutes (the correct) one remote stream.
  2. If you now remove one of the video streams (with dev tools or whatever) you'll note that chrome doesn't seem to revert back to re-mixing the streams.

webrtc-audio-bug-repro's People

Contributors

latentflip avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.