Skip to main content
IWMBandwidthSharing interface

The IWMBandwidthSharing interface contains methods to manage the properties of combined streams.

The list of streams that share bandwidth is stored in the bandwidth sharing object. The streams can be manipulated using the methods of the IWMStreamList interface. IWMBandwidthSharing inherits from IWMStreamList, so the stream list manipulation methods are always exposed through this interface.

The information in a bandwidth sharing object is purely informational. Nothing in the SDK seeks to enforce or check the accuracy of the bandwidth specified. You might want to use bandwidth sharing so that a reading application can make adjustments based on the information contained in the bandwidth sharing object.

An IWMBandwidthSharing interface is exposed for each bandwidth sharing object upon creation. Bandwidth sharing objects are created using the IWMProfile3::CreateNewBandwidthSharing method.

Members

The IWMBandwidthSharing interface inherits from IWMStreamList. IWMBandwidthSharing also has these types of members:

Methods

The IWMBandwidthSharing interface has these methods.

MethodDescription
GetBandwidth

Retrieves the bandwidth and maximum buffer size of the streams in the bandwidth sharing object.

GetType

Retrieves the type of sharing (exclusive or partial) for the bandwidth sharing object.

SetBandwidth

Sets the bandwidth and maximum buffer size for streams in the bandwidth sharing object.

SetType

Sets the type of sharing (exclusive or partial) for the bandwidth sharing object.

 

The following interface can be obtained by using the QueryInterface method of this interface.

InterfaceIID
IWMStreamList IID_IWMStreamList

 

See also

IWMStreamList
Bandwidth Sharing Object
Using Bandwidth Sharing