public static interface IVideoSource.IListener
IListener
- video source listener.Modifier and Type | Method and Description |
---|---|
void |
onStart(IVideoSource source)
Notifies about
source start. |
void |
onStop(IVideoSource source)
Notifies about
source stop. |
void |
onVideoFrame(IVideoSource source,
VideoFrame frame)
|
void |
onVideoFrameTimeout(IVideoSource source,
long timeout)
Notifies about video frame timeout.
|
void onStart(IVideoSource source)
source
start.source
- void onVideoFrame(IVideoSource source, VideoFrame frame)
source
- frame
- void onVideoFrameTimeout(IVideoSource source, long timeout)
source
- timeout
- timeout (in milliseconds)void onStop(IVideoSource source)
source
stop.source
-