Package com.telnyx.webrtc.lib
Interface CapturerObserver
- All Known Subinterfaces:
VideoProcessor
public interface CapturerObserver
Interface for observering a capturer. Passed to
VideoCapturer.initialize(com.telnyx.webrtc.lib.SurfaceTextureHelper, android.content.Context, com.telnyx.webrtc.lib.CapturerObserver). Provided by
VideoSource.getCapturerObserver().
All callbacks must be executed on a single thread.-
Method Summary
Modifier and TypeMethodDescriptionvoidonCapturerStarted(boolean success) Notify if the capturer have been started successfully or not.voidNotify that the capturer has been stopped.voidonFrameCaptured(VideoFrame frame) Delivers a captured frame.
-
Method Details
-
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
Delivers a captured frame.
-