public static class IVideoEncoder.CallbackAdapter extends java.lang.Object implements IVideoEncoder.ICallback
CallbackAdapter
- video decoder callback adapter.Constructor and Description |
---|
CallbackAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.Object tag,
int type,
ByteArray data)
Accepts/rejects encoded frame.
|
void |
onEncodedFrame(java.lang.Object tag,
int type,
ByteArray data)
Notifies about encoded video frame.
|
void |
onException(java.lang.Object tag,
java.lang.Exception e)
Notifies about encoding exception.
|
public boolean accept(java.lang.Object tag, int type, ByteArray data)
IVideoEncoder.ICallback
accept
in interface IVideoEncoder.ICallback
tag
- frame tagtype
- frame typedata
- encoded frametrue
to accept; false
to rejectpublic void onEncodedFrame(java.lang.Object tag, int type, ByteArray data)
IVideoEncoder.ICallback
onEncodedFrame
in interface IVideoEncoder.ICallback
tag
- frame tagtype
- frame typedata
- encoded frame datapublic void onException(java.lang.Object tag, java.lang.Exception e)
IVideoEncoder.ICallback
onException
in interface IVideoEncoder.ICallback
tag
- frame tag