Share via


Network Object

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Network object provides properties and methods used to access statistics relating to the quality of a network connection, and to specify and retrieve the network proxy settings.

The Network object supports the following properties.

Property Description
bandWidth Retrieves the current bandwidth of the media item.
bitRate Retrieves the current bit rate being received.
bufferingCount Retrieves the number of times buffering occurred during playback.
bufferingProgress Retrieves the percentage of buffering completed.
bufferingTime Specifies or retrieves the amount of buffering time in milliseconds before playback begins.
downloadProgress Retrieves the percentage of download completed.
encodedFrameRate Retrieves the video frame rate specified by the content author.
frameRate Retrieves the current video frame rate.
framesSkipped Retrieves the total number of frames skipped during playback.
lostPackets Retrieves the number of packets lost.
maxBandwidth Specifies or retrieves the maximum allowed bandwidth.
maxBitRate Retrieves the maximum possible video bit rate.
receivedPackets Retrieves the number of packets received.
receptionQuality Retrieves the percentage of packets received in the last 30 seconds.
recoveredPackets Retrieves the number of recovered packets.
sourceProtocol Retrieves the source protocol used to receive data.

 

The Network object supports the following methods.

Method Description
getProxyBypassForLocal Retrieves a value indicating whether the proxy server should by bypassed if the origin server is on a local network.
getProxyExceptionList Retrieves the proxy exception list.
getProxyName Retrieves the name of a proxy server to use.
getProxyPort Retrieves the proxy port to use.
getProxySettings Retrieves the proxy setting for a given protocol.
setProxyBypassForLocal Specifies a value indicating whether the proxy server should by bypassed if the origin server is on a local network.
setProxyExceptionList Specifies the proxy exception list.
setProxyName Specifies the name of a proxy server to use.
setProxyPort Specifies the proxy port to use.
setProxySettings Specifies the proxy setting for a given protocol.

 

The Network object is accessed through the following property.

Object Property
Player network

 

See also

Object Model Reference for Scripting