Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Add a pause/resume function to the video recording portion. #834

Closed
ryanhaney97 opened this issue Aug 11, 2017 · 5 comments
Closed

Add a pause/resume function to the video recording portion. #834

ryanhaney97 opened this issue Aug 11, 2017 · 5 comments
Labels
Feature Request stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@ryanhaney97
Copy link

I've been using react-native-camera in my mobile app to record video. It has a button that is held to record, released to stop, and held after to start recording again. However, I've had to implement a 1 second minimum recording time to the app, which gets rather annoying. There are 2 reasons for this: I have to merge the videos manually via my own native code, which doesn't seem to properly recognize videos less than about 1 second long, and that there's currently a bug where attempting to stop the recording to soon (about half a second of recording time or so), will fail to actually stop the recording.

I think that adding a pause/resume call would fix both of these issues. First of all it would remove the need to manually merge the videos, eliminating the first problem. In addition, while a just hunch, I don't think the aforementioned bug would occur with the pause/resume function.

As such, I'd like to request for a pause/resume call. It should be possible, as AVCaptureFileOutput has a both pauseRecording and resumeRecording instance method (for iOS, not sure about android). If you do implement this, a promise with the current recording length would also be much appreciated.

@N1k1tung
Copy link

N1k1tung commented Jun 7, 2018

@IssueHuntBot
Copy link

@issuehuntfest has funded $30.00 to this issue. See it on IssueHunt

@enisinanaj
Copy link

@N1k1tung so there's no way to implement this?

@stale
Copy link

stale bot commented Jun 12, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open.

@stale stale bot added the stale There has been a lack of activity on this issue and it may be closed soon. label Jun 12, 2019
@stale
Copy link

stale bot commented Jun 20, 2019

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

@stale stale bot closed this as completed Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants