Skip to main content
IWMStreamPrioritization interface

The IWMStreamPrioritization interface provides methods to set and read priority records for a file.

Stream prioritization allows content creators to specify the priority of the streams in an ASF file. The streams assigned the lowest priority will be dropped first in the case of insufficient bit rate during playback.

Only one stream prioritization object can exist for a profile. You can check to see if one is present with a call to IWMProfile3::GetStreamPrioritization, which will retrieve a pointer to one if it exists.

You can create a new stream prioritization object with a call to IWMProfile3::CreateNewStreamPrioritization. You will then receive a pointer to IWMStreamPrioritization for the new object. This will erase the existing stream prioritization, if there is one.

Members

The IWMStreamPrioritization interface inherits from the IUnknown interface. IWMStreamPrioritization also has these types of members:

Methods

The IWMStreamPrioritization interface has these methods.

MethodDescription
GetPriorityRecords

Retrieves the list of streams and their priorities from the profile.

SetPriorityRecords

Set the list of streams and their priorities for the profile.

 

See also

Interfaces
Stream Prioritization Object
IWMProfile3 Interface