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

AppState doesn't fire at the same time as recordAsync() #2436

Closed
nachumFreedman opened this issue Aug 19, 2019 · 9 comments
Closed

AppState doesn't fire at the same time as recordAsync() #2436

nachumFreedman opened this issue Aug 19, 2019 · 9 comments
Labels
stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@nachumFreedman
Copy link

Bug Report

The appstate doesnt fire and when we put the app in the background then come back, the entire app is frozen to the last "frame" including react-native-video component.

This happens on Android Google Pixel 2XL ONLY!!!
We tested on other non-stok android devices.

@nachumFreedman
Copy link
Author

This is only in components that also contain recordAsync, didnt test other camera functionalities

@nachumFreedman
Copy link
Author

we had to hack the library. thanks

@sibelius
Copy link
Collaborator

how to solve ?

@cristianoccazinsp
Copy link
Contributor

I reported the same issue some time ago (#2235). No fixes yet, how did you solve it?

@nachumFreedman
Copy link
Author

I'm not a java dev but my co worker did something to the library where we shutdown the camera instead of pausing it.... I'll follow up with more details after the weekend

@stale
Copy link

stale bot commented Oct 28, 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 Oct 28, 2019
@cristianoccazinsp
Copy link
Contributor

@nachumFreedman have you tried this issue with the latest version? I haven't had issues with it anymore. There's also a PR that adds even more improvements with background threads and better locks for race conditions that should further prevent this issue and speed up the camera in general (#2560)

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

stale bot commented Dec 27, 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 Dec 27, 2019
@stale
Copy link

stale bot commented Jan 3, 2020

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 Jan 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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

3 participants