Share via


Windows Media Player 11 SDK IWMPNetwork::get_receptionQuality 

Windows Media Player SDK banner art

Previous Next

IWMPNetwork::get_receptionQuality

The get_receptionQuality method retrieves the percentage of packets received in the last 30 seconds.

Syntax

  

Parameters

plReceptionQuality

[out]  Pointer to a long containing the reception quality.

Return Values

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

The number of packets received, lost, and recovered during streaming is monitored once every second. The get_receptionQuality method retrieves the percentage of packets not lost during the last 30 seconds.

Each time playback is stopped and restarted, the value retrieved from this method is reset to zero. The value is not reset if playback is paused.

This method retrieves valid information only during run time when the URL for playback is set by using the IWMPCore::put_URL method.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next