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: How to prevent resumeRecording if phone call in progress? #110

Open
GautierT opened this issue Feb 10, 2025 · 0 comments
Open

Android: How to prevent resumeRecording if phone call in progress? #110

GautierT opened this issue Feb 10, 2025 · 0 comments

Comments

@GautierT
Copy link

GautierT commented Feb 10, 2025

Currently, when trying to resume recording during a phone call on Android, the recording appears to work but produces empty audio during the call portion. This creates a misleading experience for users who might think the recording is working properly.

Expected behavior:

  • Recording should not resume if there's an ongoing phone call
  • User should be notified that recording cannot be resumed during calls

Current behavior:

  • Recording can be resumed during calls
  • Recording produces empty/silent audio during call portion
  • No warning is shown to users

Possible solutions:

  1. Check phone call state before allowing resumeRecording
  2. Show an error message if user attempts to resume during a call
  3. Disable resume button/functionality when call is detected
  4. Expose a isPhoneCallInProgress to let the developper decide what to do ?

Questions:

Additional context:
This issue aims to improve user experience by preventing silent recordings when calls are in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant