CODECAPI_AVLowLatencyMode property

Enables low-latency mode in a codec.

Data type

ULONG (VT_BOOL)

Property GUID

CODECAPI_AVLowLatencyMode

Property value

If the value is nonzero, low-latency mode is enabled. If the value is zero, low-latency mode is disabled.

Remarks

This property applies to both encoders and decoders.

Low-latency mode is useful for real-time communications or live capture, when latency should be minimized. However, low-latency mode might also reduce the decoding or encoding quality.

The encoder is expected to not add any sample delay due to frame reordering in encoding process, and one input sample shall produce one output sample. B slices/frames can be present as long as they do not introduce any frame re-ordering in the encoder.

Warning

In the current implementation, the Media Foundation H.264 decoder uses the type VT_UI4 for this property. All other implementations, including the H.264 encoder, use the type VT_BOOL.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Codecapi.h

See also

Media Foundation Properties

ICodecAPI