IMFASFStreamSelector::GetBandwidthStepCount method (wmcontainer.h)

Retrieves the number of bandwidth steps that exist for the content. This method is used for multiple bit rate (MBR) content.

Syntax

HRESULT GetBandwidthStepCount(
  [out] DWORD *pcStepCount
);

Parameters

[out] pcStepCount

Receives the number of bandwidth steps.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

Bandwidth steps are bandwidth levels used for multiple bit rate (MBR) content. If you stream MBR content, you can choose the bandwidth step that matches the network conditions to avoid interruptions during playback.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h
Library Mfuuid.lib

See also

IMFASFStreamSelector

IMFASFStreamSelector::GetBandwidthStep