react-native-webrtc / react-native-webrtc/react-native-incall-manager

Audio switches from speaker to earpiece in between call when a phone call is received

Open
#117 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
597
Forks
201
Avg merge
2h 42m
Merged PRs (30d)
1

Description

As the title says, when a phone call ( one with the sim ) is received and declined then the audio switches from speaker to earpiece. In our application, since we are using this library for video calls we don't want audio from earpiece.

Expected behavior:
The audio track should not change to earpiece.

Observed behavior:
It switches as described.

Steps to reproduce the problem:
1- Establish the connection.
2- Call from a third phone ( via sim ) to any of the 2 phones connected via peer connection.
3- Decline the call.

Platform information:

React Native version: 0.57.1
Plugin version: 1.69.1
OS: Android / iOS
OS version: Android 7,8,9 / iOS 12

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 call-interruption flow on the listed Android and iOS versions, then trace the library's media-route handling when a SIM call is declined. Done means the active video-call audio remains routed to the speaker after the interruption on both platforms, with the reproduction steps covered by verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, react-native
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.