The policy on how a media input should process the frame. More...
Public Member Functions | |
ProcessFramePolicy (int value) | |
int | getAssignedValue () |
Static Public Member Functions | |
[static initializer] | |
static ProcessFramePolicy | getByAssignedValue (int value) |
Public Attributes | |
Synchronous =(1) | |
The media input will process the frame synchronously. More... | |
Asynchronous =(2) | |
The media input will process the frame asynchronously. More... | |
The policy on how a media input should process the frame.
ProcessFramePolicy affects how media packets move from one processing element to the next in a media track. The default behaviour is synchronous, which is recommended for almost all applications. There are a few niche use cases (generally server-side) where a media track includes a branch with hundreds or thousands of leaves, in which case processing asynchronously (with accompanying thread-pool tuning) can eliminate the effects of favoritism in processing time towards the first leaves.
fm.liveswitch.ProcessFramePolicy.ProcessFramePolicy | ( | int | value | ) |
|
static |
int fm.liveswitch.ProcessFramePolicy.getAssignedValue | ( | ) |
|
static |
fm.liveswitch.ProcessFramePolicy.Asynchronous =(2) |
The media input will process the frame asynchronously.
fm.liveswitch.ProcessFramePolicy.Synchronous =(1) |
The media input will process the frame synchronously.