Package tvi.webrtc
Interface CapturerObserver
-
- All Known Subinterfaces:
VideoProcessor
public interface CapturerObserverInterface 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 voidonCapturerStarted(boolean success)Notify if the capturer have been started successfully or not.voidonCapturerStopped()Notify that the capturer has been stopped.voidonFrameCaptured(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.
-
-