Class VideoCaptureSource
- java.lang.Object
-
- com.avaya.clientservices.media.gui.NativeObject
-
- com.avaya.clientservices.media.gui.VideoSource
-
- com.avaya.clientservices.media.capture.VideoCaptureSource
-
- All Implemented Interfaces:
Destroyable
public class VideoCaptureSource extends VideoSource
-
-
Field Summary
Fields Modifier and Type Field Description static intNV12FourCC code for NV12 in hex (little-endian).
-
Constructor Summary
Constructors Constructor Description VideoCaptureSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Call this method when finished with the object; which will release the underlying C++ object.voidhandleVideoFrameBuffer(int iVideoType, byte[] frame, long captureTimestampMs)voidhandleVideoFramePlanes(int iVideoType, java.nio.ByteBuffer yPlane, int yRowStride, int yPixelStride, java.nio.ByteBuffer uPlane, int uRowStride, int uPixelStride, java.nio.ByteBuffer vPlane, int vRowStride, int vPixelStride, long captureTimestampNs)voidsetBlurBars(boolean blurBars)voidsetLocalVideoSink(VideoSink videoSink)voidsetVideoDeviceRotation(int rotation, int orientation)voidsetVideoInputFormat(int format, int width, int height)voidsetVideoOutputFormat(int format, int width, int height, boolean rotate, boolean scale)-
Methods inherited from class com.avaya.clientservices.media.gui.VideoSource
setVideoSink
-
-
-
-
Field Detail
-
NV12
public static final int NV12
FourCC code for NV12 in hex (little-endian). Sent as anImageFormatvalue tosetVideoInputFormat(int, int, int).- See Also:
- Constant Field Values
-
-
Method Detail
-
destroy
public void destroy()
Call this method when finished with the object; which will release the underlying C++ object.- Specified by:
destroyin interfaceDestroyable- Overrides:
destroyin classVideoSource
-
setBlurBars
public void setBlurBars(boolean blurBars)
-
setLocalVideoSink
public void setLocalVideoSink(VideoSink videoSink)
-
setVideoInputFormat
public void setVideoInputFormat(int format, int width, int height)
-
setVideoOutputFormat
public void setVideoOutputFormat(int format, int width, int height, boolean rotate, boolean scale)
-
setVideoDeviceRotation
public void setVideoDeviceRotation(int rotation, int orientation)
-
handleVideoFrameBuffer
public void handleVideoFrameBuffer(int iVideoType, byte[] frame, long captureTimestampMs)
-
handleVideoFramePlanes
public void handleVideoFramePlanes(int iVideoType, java.nio.ByteBuffer yPlane, int yRowStride, int yPixelStride, java.nio.ByteBuffer uPlane, int uRowStride, int uPixelStride, java.nio.ByteBuffer vPlane, int vRowStride, int vPixelStride, long captureTimestampNs)
-
-