Open
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Google Pixel
Android 8.1.0
Lib version: 0.13.0 (also appears under 0.13.2)
Steps to Reproduce
Part 1:
- Start Activity with camera view which registers itself as the CameraKitEventListener at the view
- Start Video capture via captureVideo();
- Stop Video capture after some time via stopVideo();
Part 2:
- Start Activity with camera view which registers itself as the CameraKitEventListener at the view
- Start Video capture via captureVideo(temp); with temp beeing an existing file
- Stop Video capture after some time via stopVideo();
Expected Behavior
Part1: onVideo(CameraKitVideo) should be called with an arbitrary VideoFile
Part2: on Video(CameraKitVideo) CameraKitVideo.getVideoFile() should return the recorded file instead of null!
Actual Behavior
Part 1: onVideo(CameraKitVideo) is never called. CameraView Restarts (according to events)
Part 2: onVideo(CameraKitVideo) is called but CameraKitVideo.getVideoFile() returns null
Note to Part 2: The video is recorded to the specified file. Just the CameraKitVideo.getVideoFile() value is null