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

For ios recording is not auto resuming while getting a call or mic is used by another app while recording is ongoing #442

Closed
rushik01provoyants opened this issue Nov 26, 2024 · 1 comment

Comments

@rushik01provoyants
Copy link

record: ^5.0.5

Environment

  • OS: iOS

Description

When recording is ongoing on an iPhone & the user puts the app in the background & if a user receives any call & after attending call & the user goes back to the app, the recording is stopped.

Screenshot 2024-11-26 at 8 55 02 PM

To Reproduce

Steps to reproduce the behavior:

  1. Go to App
  2. Start recording
  3. Go to background & if the user gets any call & he receives
  4. The recording will stop & never work again, the user has to start it manually.

Expected behavior
If Mic is in use by another app or priority service, that time recording should pause & once that task is done the again package should get the control back & continue the recording.

Additional context
If the app is in the background & the user will move to any other app that is expecting mic permission, in that case as well it's not working,

@llfbandit
Copy link
Owner

This package is not responsible of the lifecycle of your app.
You should get an event to warn you that the recording has been paused.

When, resuming your app, you can also resume the recording depending on your own factors.

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

2 participants