Class VideoEncoder
- java.lang.Object
-
- com.avaya.clientservices.media.gui.NativeObject
-
- com.avaya.clientservices.media.gui.VideoSink
-
- com.avaya.clientservices.media.codec.VideoEncoder
-
- All Implemented Interfaces:
Destroyable
public class VideoEncoder extends VideoSink
-
-
Constructor Summary
Constructors Constructor Description VideoEncoder(int nVideoCodecType, java.lang.String strFormat, java.lang.String strDriver)
-
Method Summary
All Methods Static 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.static java.lang.StringgetDriverForFormat(java.lang.String strFormat)voidinitialize()voidrequestBitRate(int nBitRate)voidrequestKeyFrame()booleansetFormat(java.lang.String strFormat, int nWidth, int nHeight, int nBitRate, int nFrameRate, int nProfile, int nLevel)voidsetVideoDecoder(VideoDecoder videoDecoder)voidstart()voidstop()voiduninitialize()
-
-
-
Method Detail
-
getDriverForFormat
public static java.lang.String getDriverForFormat(java.lang.String strFormat)
-
setFormat
public boolean setFormat(java.lang.String strFormat, int nWidth, int nHeight, int nBitRate, int nFrameRate, int nProfile, int nLevel)
-
start
public void start()
-
stop
public void stop()
-
initialize
public void initialize()
-
uninitialize
public void uninitialize()
-
destroy
public void destroy()
Description copied from class:NativeObjectCall this method when finished with the object; which will release the underlying C++ object.- Specified by:
destroyin interfaceDestroyable- Overrides:
destroyin classNativeObject
-
requestBitRate
public void requestBitRate(int nBitRate)
-
requestKeyFrame
public void requestKeyFrame()
-
setVideoDecoder
public void setVideoDecoder(VideoDecoder videoDecoder)
-
-