Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Cordova: Loosing remote audio track sound when go to background #947

Closed
DaveLomber opened this issue Jul 24, 2019 · 3 comments
Closed
Labels
question Not an issue but a question

Comments

@DaveLomber
Copy link

Description

I'm building an Android Cordova calling app.
We have an issue. If there is an active audio or video call.
When we put an app to background then we are loosing a remote audio track sound, so can't hear a remote party on Android side while an app is in background mode or screen locked

Steps to reproduce

  • Make an active call between Android Cordova app & Chrome browser
  • put an Android app to background

Environment details

Android 9, Cordova

We are using jitsi-met-lib

Could anyone assist with it, what we can do to prevent the issue to happen.

@sapkra
Copy link
Contributor

sapkra commented Oct 5, 2020

I think this is an energy saving feature which pauses the javascript threads or entire apps. You have to implement something to keep your app alive, like an overlay or maybe there are some other workarounds or ways to tell the system to not pause the app but if you lock the screen I think you have no chance to get a solution without using something like the android telecom api.

@sapkra sapkra added the question Not an issue but a question label Oct 5, 2020
@kiranNegiloni
Copy link

Hi @DaveLomber - We are facing similar issue on our React Native Android app. Please let us know if you found a way to resolve the issue.

@saghul
Copy link
Member

saghul commented Mar 17, 2023

Wops this has been open for waaay too long.

The original issue was already explained and doesn't apply to RN.

@saghul saghul closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Not an issue but a question
Projects
None yet
Development

No branches or pull requests

4 participants