Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MF_BYTESTREAM_DURATION attribute

Specifies the duration of a byte stream, in 100-nanosecond units.

Data type

UINT64

Treat as a LONGLONG value.

Remarks

This attribute is optional. If the object that creates the byte stream can determine the duration, it can set this attribute. (For example, in a network stream, the duration might be part of the session description.)

To get the attribute value, call QueryInterface on the byte stream to get a pointer to the IMFAttributes interface.

This attribute is a signed value, although it is stored as a UINT64.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

See also

Alphabetical List of Media Foundation Attributes
Byte Stream Attributes
IMFAttributes::GetUINT64
IMFAttributes::SetUINT64
IMFByteStream

 

 

Show:
© 2016 Microsoft