Banuba SDK
Functions
BNBRealtimeProcessorMode.h File Reference
#import <Foundation/Foundation.h>

Go to the source code of this file.

Functions

typedef NS_ENUM (NSInteger, BNBRealtimeProcessorMode)
 

Function Documentation

◆ NS_ENUM()

typedef NS_ENUM ( NSInteger  ,
BNBRealtimeProcessorMode   
)

Synchronous mode. Frame drop not allowed, pop will block on processing.

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.

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.

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.

Definition at line 6 of file BNBRealtimeProcessorMode.h.

7 {
8  /** Synchronous mode. Frame drop not allowed, `pop` will block on processing. */
9  BNBRealtimeProcessorModeSync,
10  /**
11  * Synchronous mode when effect loaded. Frame drop not allowed.
12  * During effect loading `push` will forward frames to `pop`, `pop` will return SKIP.
13  * When effect loaded, `pop` will block on processing.
14  */
15  BNBRealtimeProcessorModeSyncWhenEffectLoaded,
16  /**
17  * Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing.
18  * `push` can drop frames, if processor busy,
19  * `pop` can return EMPTY, if no processed frame data for now.
20  */
21  BNBRealtimeProcessorModeAsync,
22  /**
23  * Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing.
24  * During effect loading `push` will forward frames to `pop`, `pop` will return SKIP.
25  * When effect loaded, `push` can drop frames, if processor busy,
26  * `pop` can return EMPTY, if no processed frame data for now.
27  */
28  BNBRealtimeProcessorModeAsyncWhenEffectLoaded,
29 };