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

Causes time to speed up on setInterval()

Open
#206 0 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

InCallManager.start(ringback:"") make setInterval() to %50 speeder on real devices but not emulators (Emulators looks like not have a call manager).
Tested on Android 12 (MIUI 13) and Android 11 (LineageOS 18.1) Xioami devices.
When ı use react-native-background-timer not fix it but maybe some slower but causes crash WebRTC connection and some times console warnings new NativeEventEmitter() was called with a non null argument without the required removeListeners method.

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 at InCallManager.start(ringback:"") and trace how setInterval() behaves on physical Android devices versus emulators. Reproduce on the listed Android versions and check whether the timer speed-up, WebRTC connection crashes, or NativeEventEmitter warning occurs; done means the physical-device behavior is explained and the reported regression is resolved without those symptoms.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, 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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.