Interface IInput

All Superinterfaces:
IAttachable
All Known Implementing Classes:
CameraInput, PhotoInput, StreamInput, VideoInput

public interface IInput extends IAttachable
The interface is inherited by all classes that must work with Player, responsible for providing frames from outside in the Player
  • Method Summary

    Modifier and Type
    Method
    Description
    com.banuba.sdk.effect_player.FrameProcessor
    Get last available frame
    long
    Get timestamp of the current frame.

    Methods inherited from interface com.banuba.sdk.input.IAttachable

    attach, detach
  • Method Details

    • frameProcessor

      @NonNull com.banuba.sdk.effect_player.FrameProcessor frameProcessor()
      Get last available frame
      Returns:
      frameProcessor with filled frameData
    • getFrameTimeNanos

      long getFrameTimeNanos()
      Get timestamp of the current frame.
      Returns:
      timestamp