Share via


Windows Media Player 11 SDK Network.recoveredPackets 

Windows Media Player SDK banner art

Previous Next

Network.recoveredPackets

The recoveredPackets property retrieves the number of recovered packets.

Syntax

  
    
  

Possible Values

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

Remarks

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. It will equal zero when using the HTTP protocol, which is lossless.

Example Code

The following JScript example uses Network.recoveredPackets to display the number of recovered packets. The information is displayed in an HTML DIV created with ID = "PR". The example uses a timer with a 1-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