public interface CaptureCallback
FrameGrabber.setCaptureCallback(CaptureCallback)).
When you start the capture, v4l4j will call nextFrame(VideoFrame)
to deliver new frames to your application as soon as they arrive.
Check the FrameGrabber page for more information.| Modifier and Type | Method and Description |
|---|---|
void |
exceptionReceived(V4L4JException e)
This method is called if an error occurs during capture.
|
void |
nextFrame(VideoFrame frame)
During a capture, this method is called by v4l4j to provide
the latest video frame.
|
void nextFrame(VideoFrame frame)
frame - the latest captured framevoid exceptionReceived(V4L4JException e)
nextFrame(VideoFrame) will follow.e - the exception that was raised during the capture.Copyright © 2013-2015 Bartosz Firyn (sarxos). All Rights Reserved.