public static interface IVideoEncoder.ICallback
ICallback
- video encoder callback.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.
|
boolean accept(java.lang.Object tag, int type, ByteArray data)
tag
- frame tagtype
- frame typedata
- encoded frametrue
to accept; false
to rejectvoid onEncodedFrame(java.lang.Object tag, int type, ByteArray data)
tag
- frame tagtype
- frame typedata
- encoded frame datavoid onException(java.lang.Object tag, java.lang.Exception e)
tag
- frame tage
-