ltmmWMMutualExclusion Object

The ltmmWMMutualExclusion Object is used to specify a number of streams, of which one can be delivered at a time. This object is created using the ltmmWMProfile Object methods CreateNewMutualExclusion and GetMutualExclusion.

ASF files can contain one or more streams. For example an ASF file may contain one video stream and 2 audio streams for 2 different languages (same for subtitling). In the case where more than one stream exists, you can choose which stream to deliver. This can be achieved by using the IltmmWMMutualExclusion Interface.

lEADTOOlS Multimedia supports the following types of mutual exclusion:

Bit rate

Mutual exclusion is based on bit rate; streams might differ only in bit rate.

language

Mutual exclusion is based on language; streams are recorded with different languages.

Presentation

Mutual exclusion is based on aspect ratio; streams have different aspect ratios of the video frame.

Unknown

Custom mutual exclusion.

For more detailed information, refer to the Microsoft documentation for the IWMMutualExclusion Interface at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform11/htm/iwmmutualexclusioninterface.asp.

The ltmmWMMutualExclusion Object contains the following properties and methods:

Properties

ltmmWMMutualExclusion.StreamCount

ltmmWMMutualExclusion.Type

Methods

ltmmWMMutualExclusion.AddStream

ltmmWMMutualExclusion.GetStream

ltmmWMMutualExclusion.RemoveStream

See Also

Windows Media Support