Package tvi.webrtc
Interface CapturerObserver
-
- All Known Subinterfaces:
VideoProcessor
public interface CapturerObserver
Interface for observering a capturer. Passed toVideoCapturer.initialize(tvi.webrtc.SurfaceTextureHelper, android.content.Context, tvi.webrtc.CapturerObserver)
. Provided byVideoSource.getCapturerObserver()
. All callbacks must be executed on a single thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCapturerStarted(boolean success)
Notify if the capturer have been started successfully or not.void
onCapturerStopped()
Notify that the capturer has been stopped.void
onFrameCaptured(VideoFrame frame)
Delivers a captured frame.
-
-
-
Method Detail
-
onCapturerStarted
void onCapturerStarted(boolean success)
Notify if the capturer have been started successfully or not.
-
onCapturerStopped
void onCapturerStopped()
Notify that the capturer has been stopped.
-
onFrameCaptured
void onFrameCaptured(VideoFrame frame)
Delivers a captured frame.
-
-