SessionBacklogPolicy
public enum SessionBacklogPolicy
What a session does with a frame it has no room for.
| Value | ||
|---|---|---|
DropNewest |
0 |
Refuse the frame, count it, and return. The default: a recording that costs frames on the recording is a better failure than one that costs frames on every camera's live display. The count is in SessionSourceStatistics.FramesDroppedBacklog and is never zero silently. |
Block |
1 |
Wait for room. Nothing is dropped and a slow disk becomes back-pressure on the calling threads. Right when the recording is the product (an acceptance run, a qualification), and wrong when somebody is watching a live display. |