MF_SD_ASF_EXTSTRMPROP_AVG_BUFFERSIZE attribute

Specifies the average buffer size, in bytes, needed for a stream in an Advanced Systems Format (ASF) file.

Data type

UINT32

Remarks

This attribute applies to stream descriptors for ASF content. It corresponds to the Buffer Size field in the Extended Stream Properties object, and defines the bucket size used in the "leaky bucket" model. For more information, refer to the ASF specification.

The IMFASFContentInfo::GeneratePresentationDescriptor method generates this attribute from the ASF metadata. The application can create the stream descriptor for the stream from the presentation descriptor by calling IMFPresentationDescriptor::GetStreamDescriptorByIndex.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wmcontainer.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFStreamDescriptor

Stream Descriptor Attributes

ASF Header Object