MF_LEAKY_BUCKET_PAIR structure (mfidl.h)

Specifies the buffering requirements of a file.

Syntax

typedef struct _MF_LEAKY_BUCKET_PAIR {
  DWORD dwBitrate;
  DWORD msBufferWindow;
} MF_LEAKY_BUCKET_PAIR;

Members

dwBitrate

Bit rate, in bits per second.

msBufferWindow

Size of the buffer window, in milliseconds.

Remarks

This structure describes the buffering requirements for content encoded at the bit rate specified in the dwBitrate. The msBufferWindow member indicates how much data should be buffered before starting playback. The size of the buffer in bytes is msBufferWinow×dwBitrate / 8000.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header mfidl.h

See also

MFBYTESTREAM_BUFFERING_PARAMS

Media Foundation Structures