Code Monkey home page Code Monkey logo

Comments (8)

timmydoza avatar timmydoza commented on June 12, 2024

That's a good question @RusseII!

I'm wondering if you could please elaborate on the kind of noise that you are hearing? Is it fan noise from a laptop? Or is it crosstalk between the user's output device and their input device? Also, are there certain devices or browsers that experience noise more than others? Any additional details that you can provide would be very helpful.

It could be useful to check that the noiseSuppression and echoCancellation constraints are enabled. The noiseSuppression feature is not supported in Safari, so users that use Safari will have more background noise in their audio tracks.

from twilio-video-app-react.

RusseII avatar RusseII commented on June 12, 2024

Thanks for the info @timmydoza

The noise was crosstalk between the users output device/input device - specially the user who was having the issue was using a Google Pixel 2 XL with google chrome.

I'll check on the noiseSuppression and echoCancellation.

from twilio-video-app-react.

timmydoza avatar timmydoza commented on June 12, 2024

Thanks for the info! I did some googling, and there are a number of people reporting the same echo issue on Pixel 2's.

If the issue isn't present on any other devices, then I'm inclined to think that this is a hardware issue and not a problem with this application.

from twilio-video-app-react.

timmydoza avatar timmydoza commented on June 12, 2024

Closing due to inactivity. I'd be happy to open again if this can be traced to an app problem.

from twilio-video-app-react.

helloneeraj avatar helloneeraj commented on June 12, 2024

Hi Team,
We are using the app on Desktop / Chrome for video call. We are observing ECHO most of the time during the call from Chrome
Since it is not reported by anyone so far, we are wondering if we have missed anything.

Could you please help

from twilio-video-app-react.

Black-Stork avatar Black-Stork commented on June 12, 2024

Hi @timmydoza and the Twilio team,
Could we please re-open this issue or should I create a new one?
I'm also facing this issue. When I'm connected to a room, and somebody connects to the same room from Chrome with turned on music or video, I hear this noise very loud. Is there any way to cancel this noise?
Also, you've mentioned noiseSuppression and echoCancellation, but I didn't get how to pass it to Twilio

from twilio-video-app-react.

aditya-protonn avatar aditya-protonn commented on June 12, 2024

@timmydoza please help with the above query

from twilio-video-app-react.

dariocravero avatar dariocravero commented on June 12, 2024

@aditya-protonn @Black-Stork it's been a while since you asked but we just came across this issue and ended up implementing it this way:

import Video from 'twilio-video'
// https://github.com/twilio/twilio-video-app-react/issues/143
// https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API/Constraints#example__constraint_exerciser
let constraints = {}

try {
  let supportedContraints =
    window.navigator.mediaDevices.getSupportedConstraints()
  // https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings/echoCancellation
  if (supportedContraints.echoCancellation) {
    constraints.echoCancellation = true
  }
  // not supported on Safari iOS
  // https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings/noiseSuppression
  if (supportedContraints.noiseSuppression) {
    constraints.noiseSuppression = true
  }
} catch (error) {}

let track = await Video.createLocalAudioTrack(constraints)

Alternatively, this may work too:

track.mediaStreamTrack.applyConstraints({ echoCancellation: true, noiseSuppression: true })

from twilio-video-app-react.

Related Issues (20)

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.