Package tvi.webrtc

Interface CapturerObserver

All Known Subinterfaces:
VideoProcessor

public interface CapturerObserver
Interface for observering a capturer. Passed to VideoCapturer.initialize(tvi.webrtc.SurfaceTextureHelper, android.content.Context, tvi.webrtc.CapturerObserver). Provided by VideoSource.getCapturerObserver(). All callbacks must be executed on a single thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCapturerStarted(boolean success)
    Notify if the capturer have been started successfully or not.
    void
    Notify that the capturer has been stopped.
    void
    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

      void onFrameCaptured(VideoFrame frame)
      Delivers a captured frame.