Share via


Windows Media Player 11 SDK Network.receptionQuality 

Windows Media Player SDK banner art

Previous Next

Network.receptionQuality

The receptionQuality property retrieves the percentage of packets received in the last 30 seconds.

Syntax

  
    
  

Possible Values

This property is a read-only Number (long).

Remarks

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

Each time playback is stopped and restarted, this property is set to zero. It is not reset if playback is paused.

This property returns valid information only during run time and only if the Player**.URL** property is also set.

Example Code

The following JScript example uses Network.receptionQuality to display the percentage of packets received. The information is displayed in an HTML DIV created with ID = "RQ". The example uses a timer with a 30-second interval to update the display. The Player object was created with ID = "Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next