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

Handling media-routes/sensors/events during a audio/video chat on React Native
ISC License
555 stars 192 forks source link

Causes time to speed up on setInterval() #206

Open smhaltnsk opened 1 year ago

smhaltnsk commented 1 year ago

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.