You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is happening is that if i run the app normally the first cycle the app uses the callback correctly and record is launched, after x time the recording autostops trough stopRecorder() function. Here the motion detector callback is not running anymore, while if i'm testing the app in debug mode everything works perfectly.
I have the same problem if i start the app in debug mode and then disconnect the phone
What is the problem? O.o
edit: testing the problem i implemented a callback to log the callback, and i can see that the service is running, the only problem is that nextData is always null on MotionDetector after the first run, maybe is MediaRecorder overwriting access to the camera? why is it working in debug mode then? I even tried disabling proguard
The text was updated successfully, but these errors were encountered:
Hi, need some help... i need to capture video recording on every motion detected, this is my relevant code:
What is happening is that if i run the app normally the first cycle the app uses the callback correctly and record is launched, after x time the recording autostops trough stopRecorder() function. Here the motion detector callback is not running anymore, while if i'm testing the app in debug mode everything works perfectly.
I have the same problem if i start the app in debug mode and then disconnect the phone
What is the problem? O.o
edit: testing the problem i implemented a callback to log the callback, and i can see that the service is running, the only problem is that nextData is always null on MotionDetector after the first run, maybe is MediaRecorder overwriting access to the camera? why is it working in debug mode then? I even tried disabling proguard
The text was updated successfully, but these errors were encountered: