JCVideoCaptureCallback ====================== .. java:package:: at.jumpch.sdk :noindex: .. java:type:: public interface JCVideoCaptureCallback Video capture callback interface. The main purpose is to provide the frame data for the \ :java:ref:`JCVideoCaptureInterface`\ implementation. An implementation is provided in \ :java:ref:`JCVideoCaptureInterface.startCapture`\ . Methods ------- capturerStarted ^^^^^^^^^^^^^^^ .. java:method:: void capturerStarted(boolean started) :outertype: JCVideoCaptureCallback Notify the system to when the capture has started or stopped. :param started: \ ``true``\ if the capture has started, \ ``false``\ otherwise. provideFrame ^^^^^^^^^^^^ .. java:method:: void provideFrame(byte[] data, int width, int height, int fourcc) :outertype: JCVideoCaptureCallback Send the frame to be encoded to the system. :param data: Video frame buffer :param width: Video frame width :param height: Video frame height :param fourcc: FourCC value defined in constants in \ :java:ref:`JCClient`\ provideFrame ^^^^^^^^^^^^ .. java:method:: void provideFrame(byte[] data, int width, int height, int rotation, long timeStamp, int fourcc) :outertype: JCVideoCaptureCallback Send the frame to be encoded to the system. :param data: Video frame buffer :param width: Video frame width :param height: Video frame height :param rotation: Video frame rotation in degrees. Valid values are 0, 90, 180, or 270. :param timeStamp: Video frame timet stamp. Monotonically increasing time value in milliseconds. :param fourcc: FourCC value defined in constants in \ :java:ref:`JCClient`\