Enum Class RealtimeProcessorMode

java.lang.Object
java.lang.Enum<RealtimeProcessorMode>
com.banuba.sdk.effect_player.RealtimeProcessorMode
All Implemented Interfaces:
Serializable, Comparable<RealtimeProcessorMode>, Constable

public enum RealtimeProcessorMode extends Enum<RealtimeProcessorMode>
  • Enum Constant Details

    • SYNC

      public static final RealtimeProcessorMode SYNC
      Synchronous mode. Frame drop not allowed, `pop` will block on processing.
    • SYNC_WHEN_EFFECT_LOADED

      public static final RealtimeProcessorMode SYNC_WHEN_EFFECT_LOADED
      Synchronous mode when effect loaded. Frame drop not allowed. During effect loading `push` will forward frames to `pop`, `pop` will return SKIP. When effect loaded, `pop` will block on processing.
    • ASYNC

      public static final RealtimeProcessorMode ASYNC
      Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing. `push` can drop frames, if processor busy, `pop` can return EMPTY, if no processed frame data for now.
    • ASYNC_WHEN_EFFECT_LOADED

      public static final RealtimeProcessorMode ASYNC_WHEN_EFFECT_LOADED
      Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing. During effect loading `push` will forward frames to `pop`, `pop` will return SKIP. When effect loaded, `push` can drop frames, if processor busy, `pop` can return EMPTY, if no processed frame data for now.
  • Method Details

    • values

      public static RealtimeProcessorMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RealtimeProcessorMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null