Table of Contents

Enum SrtLatencyStrategy

Namespace
VAST.SRT
Assembly
VAST.SRT.dll

Specifies the strategy for handling latency in SRT receiver session. Ignored for SRT sender sessions because it always delivers frames ASAP.

public enum SrtLatencyStrategy

Fields

Fixed = 0

The default strategy to keep the latency specified by a user (or the default one if not explicitly specified) fixed and deliver frames from the latency queue only once they're kept there for the specified period of time. This guarantees smooth frame delivery while the actual delivery time from a sender remains within specified latency.

Minimal = 1

The strategy pushes everything from latency queue till the last consecutive packet even if latency queue duration becomes lower than specified one. If chosen then latency of delivered frames is always the lowest possible. Frame delivery is not smooth and depends on how high is the delivery jitter from a sender. In case of a sudden congestion or throughput drop frames will be delivered in bursts.

Zero = 2

Zero latency gives up the lost packets retransmission logic and employs other techniques to minimize the latency, ideally delivering frames as soon as it receives them from a sender session. Provides minimal latency among all strategies. Frame delivery is not smooth. Frames may be corrupted due to lost unrecovered packets. Automatically activated when latency specified by a user is 0.