Share via


Windows Media Player 11 SDK Network.receivedPackets 

Windows Media Player SDK banner art

Previous Next

Network.receivedPackets

The receivedPackets property retrieves the number of packets received.

Syntax

  
    
  

Possible Values

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

Remarks

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

Example Code

The following JScript example uses Network.receivedPackets to display the number of packets received. The information is displayed in an HTML DIV created with ID = "RP". 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