Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Handle interruptions on iOS when app is in foreground/background #328

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

julioxavierr
Copy link

@julioxavierr julioxavierr commented Jun 15, 2019

Now by default, the recording will be paused when an interruption begins and resumed right after the interruption ends. Works when the app is in foreground/background.
This behavior is set by default to match the behavior that happens when an interruption occurs on Android.

Also, it's possible to stop recording when an interruption occurs (on prepareRecording). In this case, the recording will be stopped and the session will be set to inactive. It's also possible to start another session after this (before, it was breaking the app because it wasn't handled properly).

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

Successfully merging this pull request may close these issues.

1 participant