react-native-webrtc / react-native-webrtc/react-native-callkeep

Can not turn on speaker! (Set loudspeaker)

Open
#578 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
511
Avg merge
9h 12m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the video-call audio behavior around RNCallKeep.getAudioRoutes() and RNCallKeep.setAudioRoute(uuid, route.name). Check why selecting the Speaker route still leaves output on the earpiece, and verify that a video call uses the loudspeaker when the route is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.