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.

MFBYTESTREAM_BUFFERING_PARAMS structure

Specifies the buffering parameters for a network byte stream.

Syntax


typedef struct _MFBYTESTREAM_BUFFERING_PARAMS {
  QWORD                cbTotalFileSize;
  QWORD                cbPlayableDataSize;
  MF_LEAKY_BUCKET_PAIR *prgBuckets;
  DWORD                cBuckets;
  QWORD                qwNetBufferingTime;
  QWORD                qwExtraBufferingTimeDuringSeek;
  QWORD                qwPlayDuration;
  float                dRate;
} MFBYTESTREAM_BUFFERING_PARAMS;

Members

cbTotalFileSize

Size of the file, in bytes. If the total size is unknown, set this member to -1.

cbPlayableDataSize

Size of the playable media data in the file, excluding any trailing data that is not useful for playback. If this value is unknown, set this member to -1.

prgBuckets

Pointer to an array of MF_LEAKY_BUCKET_PAIR structures. Each member of the array gives the buffer window for a particular bit rate.

cBuckets

The number of elements in the prgBuckets array.

qwNetBufferingTime

Amount of data to buffer from the network, in 100-nanosecond units. This value is in addition to the buffer windows defined in the prgBuckets member.

qwExtraBufferingTimeDuringSeek

Amount of additional data to buffer when seeking, in 100-nanosecond units. This value reflects the fact that downloading must start from the previous key frame before the seek point. If the value is unknown, set this member to zero.

qwPlayDuration

The playback duration of the file, in 100-nanosecond units. If the duration is unknown, set this member to zero.

dRate

Playback rate.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

IMFByteStreamBuffering
Media Foundation Structures

 

 

Show:
© 2017 Microsoft