question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Audio is not working on call connection.

See original GitHub issue

I have initiated an offer from iOS build and tried to connect on the other side of android, Call was connected successfully but the Peers were unable to listen to each others audio. I am not sure where I am committing mistake. Reply will be appreciated.

RN : 0.59.9 react-native-webrtc : 1.67.1 React : 16.8.6

Code for Constraints and local stream!

const getLocalStream = () => {
  
  let constrains = {
    audio: true,
    video: false
  };
  let getStream = stream => {
    join("SWN");
    localStream = stream;
     appClass.setState({
      streamURL: stream.toURL(),
      status: 'ready',
      info: 'Calling...',
    });
  };
  
  getUserMedia(constrains, getStream, logError);
};

Logs are down below.

"{"active":true,"_tracks":[{"_enabled":true,"id":"CC75D414-177F-45F2-B444-B647E12933A5","kind":"audio","label":"CC75D414-177F-45F2-B444-B647E12933A5","muted":false,"readonly":true,"remote":false,"readyState":"live"}],"id":"4D60CB66-26D3-4198-9183-F3ED0D49C7F6","reactTag":"4D60CB66-26D3-4198-9183-F3ED0D49C7F6"}"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, May 19, 2020

Please update to the latest version.

0reactions
danjenkinscommented, Jul 2, 2020

Closing as no update

Read more comments on GitHub >

github_iconTop Results From Across the Web

Audio on calls troubleshooting | T-Mobile Support
If it's hard to understand calls on your phone or a headset, there might be trouble with your phone, headset, or local network....
Read more >
Fix sound or video issues - Android - Google Duo Help
If you can't connect to Duo, the app might have an issue with its sound, video, or connection. Here are a few things...
Read more >
8 Ways to fix an iPhone no sound on calls - iGeeksBlog
Solutions to fix an iPhone no sound on calls, 1. Adjust volume level and Audio settings 2. Remove wired headphones 3. Restart your...
Read more >
How to fix sound, calling and other problems on Your Phone ...
Press CTRL + SHIFT + ESC to open the Task Manager. Find Your Phone under the Processes tab and right-click on it. ;...
Read more >
I'm having sound problems in my audio or video call
Cause: The microphone is not connected correctly to the computer. ... Cause: Sound is muted or turned down low in the conversation window....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found