Skip to content
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 callback is not called #7

Open
jdagnogo opened this issue Jun 18, 2018 · 0 comments
Open

Video callback is not called #7

jdagnogo opened this issue Jun 18, 2018 · 0 comments

Comments

@jdagnogo
Copy link

Hi,
First good job with your lib ! I wanted to use a video capture like that in y personal application.
But the callback is never call with debug mode :

   circleVideoRecord.setVideoListener(new VideoListener() {
                    @Override
                    public void onVideoTaken(File video) {
                        Log.d("path : ",video.getAbsolutePath());
                    }
                });

So I checked in your code and I saw that you use camera kit.

      mCameraView.captureVideo(new CameraKitEventCallback<CameraKitVideo>() {
                        @Override
                        public void callback(CameraKitVideo cameraKitVideo) {
                            if (videoListener != null) {
                                videoListener.onVideoTaken(cameraKitVideo.getVideoFile());
                            }
                        }
                    });

and Still not called in debug mode...
But in their documentation to capture an video they used CameraView.startRecordingVideo() but I did not see that in your code.
http://docs.camerakit.website/#/?id=capturing-video

Maybe I did not undestand how it works.... Thanks in advance for your response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant