How can start a video recording when a Fragment/Activity loads; without having to implement the takeVideo() and stopVideo() methods in a button click listener for example?
I'am finding it difficult to locate where in a Fragment life-cycle to start a video recording with the takeVideo() method. The Fragment onResume() method seemed the most obvious place to do so but I've not had success.
I had a look at this question I thought was related
Any suggestions would be great, thanks :smile:
CameraView V2 (2.0.0-beta04)
Take the video when the camera opens - that is, in the onCameraOpened callback.
Take the video when the camera opens - that is, in the onCameraOpened callback.
Thanks, that fixed things.
Most helpful comment
Take the video when the camera opens - that is, in the onCameraOpened callback.