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.

Can not turn on speaker! (Set loudspeaker)

See original GitHub issue

Anyone luck with video call and turn on speaker. Currently audio ouput is small for video call it seem using earIn

 const routes = await RNCallKeep.getAudioRoutes();
      console.log('DEBUG routes', routes, uuid);
      if (routes && routes.length) {
        const route = routes.find((r) => r.type === 'Speaker');
        if (route) {
          console.log('ACTIVE route', route);
          await RNCallKeep.setAudioRoute(uuid, route.name);
        }
      }

Best regards, Toan

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
tabvncommented, May 14, 2022

Start call

 RNCallKeep.startCall(id, `${user.phone}`, '+84...', 'number', true);

Answer call

 RNCallKeep.displayIncomingCall(
                data.id,
                `${data.caller.phone}`,
                `${data.caller.firstName}`,
                'number',
                true
              );
const onAnswerCallAction = (data) => {
      let { callUUID } = data;
      RNCallKeep.setCurrentCallActive(callUUID);
      //RNCallKeep.answerIncomingCall(callUUID);
      //RNCallKeep.setAudioRoute(callUUID, 'Speaker');
      console.log('answer call', data);
      if (!isIOS) {
        RNCallKeep.backToForeground();
      }
      dispatch(accept(callUUID));
    };
0reactions
anujraghuvanshicommented, Dec 6, 2022

Hi, @glesperance I am also trying the plugin mentioned by you. Yet it’s not working for me. Can you please share all things you did to make it work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Are Your Computer Speakers Not Working? How to Fix ...
1. Have You Muted the Audio? ... One of the easiest ways to end up with no audio on Windows speakers is to...
Read more >
How to Fix Android Speaker Not Working - iMobie
One of the common methods to fix it when your Android speakers are not working is to reboot your device. If there are...
Read more >
SOLVED: Why won't the speaker turn on? - OontZ Angle 3 - iFixit
When the speaker does not turn on, it could be because of a few reasons. The first reason is that the battery is...
Read more >
Fix sound or audio problems in Windows - Microsoft Support
Make sure the power is turned on. Make sure the mute setting is not turned on and try turning up all the volume...
Read more >
How to Fix It When Laptop Speakers are Not Working - Lifewire
Speaker configuration: Slightly more complicated configuration issues, like the speakers not being set as the default audio device, can also ...
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