Share via


Windows Media Player 11 SDK Network.maxBandwidth 

Windows Media Player SDK banner art

Previous Next

Network.maxBandwidth

The maxBandwidth property specifies or retrieves the maximum allowed bandwidth.

Syntax

  
    
  

Possible Values

This property is a read/write Number (long).

Remarks

This property has no default value. Its value can be specified while Windows Media Player is playing, but the change will not take effect until the current media item is released by opening another one or by calling Player**.close**. Windows Media Player attempts to achieve the highest bandwidth possible. Only in the case of the value being set will any bandwidth reduction occur.

This setting is useful for reducing the amount of bandwidth used, particularly in the case of a multiple bit rate (MBR) stream. An MBR stream contains multiple streams with different bit rates. In some cases, it may be desirable to use a stream with a lower bit rate than the client requires. In this case, setting the maxBandwidth property will select a lower bit-rate stream.

For example, an MBR stream could include streams encoded at 20 kilobits per second (Kbps), 37 Kbps, and 200 Kbps. Setting the maxBandwidth property to 50,000 (50 Kbps) will select the 37 Kbps stream instead of the 200 Kbps stream.

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

 

Previous Next