-
-
Notifications
You must be signed in to change notification settings - Fork 728
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
Video Recording implementation using CameraX lib #419
base: master
Are you sure you want to change the base?
Commits on Apr 21, 2019
-
Call cameraview destroy() instead of close() on Fragment onDestroy()
- destroy() releases the camera resource unlike close() which just stops the preview Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e94d58 - Browse repository at this point
Copy the full SHA 2e94d58View commit details -
Set LifecyclerOwner to the CameraView
- setting LifecycleOwner will remove boilerplate around open(), close() and destroy() - a possible fix for guardianproject#376 ? Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f54d45 - Browse repository at this point
Copy the full SHA 9f54d45View commit details
Commits on Apr 25, 2019
-
Set listener to null while canceling task
- holding this reference may lead to Context leak Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ef9908 - Browse repository at this point
Copy the full SHA 9ef9908View commit details
Commits on Apr 26, 2019
-
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aac0f96 - Browse repository at this point
Copy the full SHA aac0f96View commit details -
Keep application context in Signal Sender
- keeping Context (Activity/Fragment) in a singleton will cause memory leaks Keep the global application object associated with it instead - fix guardianproject#399 Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99eded9 - Browse repository at this point
Copy the full SHA 99eded9View commit details -
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a99b02 - Browse repository at this point
Copy the full SHA 0a99b02View commit details
Commits on May 5, 2019
-
- Among others this updates materialdatetimepicker to 4.2.0 which fixes a memory leak Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba89c2d - Browse repository at this point
Copy the full SHA ba89c2dView commit details
Commits on May 14, 2019
-
- keep this app dependency free; can be added in debug builds whenever another investigation is required Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8e972b - Browse repository at this point
Copy the full SHA e8e972bView commit details
Commits on Apr 17, 2020
-
Merge branch 'master' of github.com:guardianproject/haven into leak_c…
…anary Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2179d56 - Browse repository at this point
Copy the full SHA 2179d56View commit details -
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25581c4 - Browse repository at this point
Copy the full SHA 25581c4View commit details -
Add leak canary in debug builds
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8716256 - Browse repository at this point
Copy the full SHA 8716256View commit details
Commits on Apr 18, 2020
-
Use HavenCameraView instead of CameraView
- aims to solve guardianproject#395 (comment) - According to https://developer.android.com/reference/androidx/lifecycle/DefaultLifecycleObserver [DefaultLifecycleObserver] should *always* be preferred over [androidx.lifecycle.LifecycleObserver] if we use Java 8. [CameraView] library targets Java 7 hence this implementation aims to ignore [androidx.lifecycle.OnLifecycleEvent] annotated methods in the super class and replace them with the callbacks implemeted in this sub class Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b891062 - Browse repository at this point
Copy the full SHA b891062View commit details
Commits on Jun 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 07b9aa4 - Browse repository at this point
Copy the full SHA 07b9aa4View commit details -
- due to camerax preview lib we need to make minSDK to 21 from 16; if this is going to be a major problem we may need to go ahead without the preview lib Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b09e9f - Browse repository at this point
Copy the full SHA 5b09e9fView commit details -
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 626bdc7 - Browse repository at this point
Copy the full SHA 626bdc7View commit details
Commits on Jun 12, 2020
-
Add coroutines lib for concurrent tasks
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13944af - Browse repository at this point
Copy the full SHA 13944afView commit details -
Initial implementation using CameraX
- Use PreviewView instead of CameraView - MotionAnalyser as the image analysis Use Case to work with MotionDetector to detct motion - save image on motion detect and notify running service - Expose LiveData from MotionDetector for result; alternative to callbacks Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef6c1a2 - Browse repository at this point
Copy the full SHA ef6c1a2View commit details
Commits on Jun 13, 2020
-
Enable camera switching + use Events for notifying motion
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8c2825 - Browse repository at this point
Copy the full SHA e8c2825View commit details -
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc0734a - Browse repository at this point
Copy the full SHA dc0734aView commit details -
- current implementation does not allow both image and video capture simultaneously Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23e89e6 - Browse repository at this point
Copy the full SHA 23e89e6View commit details
Commits on Jun 17, 2020
-
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b68e306 - Browse repository at this point
Copy the full SHA b68e306View commit details -
Stop monitoring and close activity after a delay
- stop monitoring via a message to service instead of invoking from outside - close the activity after a delay of 3s to clean up video capture and image capture Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 492774d - Browse repository at this point
Copy the full SHA 492774dView commit details -
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9da31d4 - Browse repository at this point
Copy the full SHA 9da31d4View commit details -
Set up analyser while configuring camera
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54df268 - Browse repository at this point
Copy the full SHA 54df268View commit details
Commits on Jun 18, 2020
-
Camera configuration activity cleanup
- listen on a live data of result instead of events - string formatting Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0593cd7 - Browse repository at this point
Copy the full SHA 0593cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c13cea - Browse repository at this point
Copy the full SHA 1c13ceaView commit details -
Annotate methods with thread of execution
Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f09ce95 - Browse repository at this point
Copy the full SHA f09ce95View commit details
Commits on Jun 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 74e00f2 - Browse repository at this point
Copy the full SHA 74e00f2View commit details
Commits on Jul 10, 2020
-
- Keep switch in preference to toggle simultaneous video monitoring - when on along with video monitoring both image and video will be captured; this will stop camera preview - when off but video monitoring on only video will be captured for the camera events and we will have image preview - video monitoring off will keep only image capture on Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67e494b - Browse repository at this point
Copy the full SHA 67e494bView commit details
Commits on Jul 11, 2020
-
- Copy image helper from cameraview lib Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e096f3 - Browse repository at this point
Copy the full SHA 2e096f3View commit details
Commits on Dec 5, 2020
-
Signed-off-by: Arka Prava Basu <[email protected]> Update dependencies Signed-off-by: Arka Prava Basu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edf2f0c - Browse repository at this point
Copy the full SHA edf2f0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a90c92a - Browse repository at this point
Copy the full SHA a90c92aView commit details
Commits on Jul 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2509938 - Browse repository at this point
Copy the full SHA 2509938View commit details