Enables low-latency processing in the Microsoft Media Foundation pipeline.
BOOL stored as UINT32
To get this attribute, call IMFAttributes::GetUINT32.
To set this attribute, call IMFAttributes::SetUINT32.
Low latency is defined as the smallest possible delay from when the media data is generated (or received) to when it is rendered. Low latency is desirable for real-time communication scenarios. For other scenarios, such as local playback or transcoding, you typically should not enable low-latency mode, because it can affect quality.
Set this attribute on pipeline components as follows:
- Media source: Use the IMFMediaSourceEx::GetSourceAttributes method.
- Media Foundation transform (MFT): Use the IMFTransform::GetAttributes method. For encoders, the encoder might support low latency through the ICodecAPI interface.
- Media sink: Query the media sink for the IMFAttributes interface.
Applications typically do not set this attribute directly on the pipeline components, but instead set the attribute on one of the following objects:
- Media Session: Use the pConfiguation parameter of the MFCreateMediaSession or MFCreatePMPMediaSession function, or else set the attribute on the topology.
- Source Reader: Set the attribute with the configuration properties when you create the Source Reader. For more information, see Source Reader Attributes.
- Sink Writer: Set the attribute with the configuration properties when you create the Sink Writer. For more information, see Sink Writer Attributes.
Minimum supported client
|Windows 8 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2012 [desktop apps | Windows Store apps]|