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.
WMV files can contain one or more streams. For example an WMV file may contain one video stream The portion of the file holding the video data. The video data might be compressed to save disk space. The data has to be decompressed using a video decompressor Also known as a decoder, this is a module or algorithm to decompress data. before you can play (see) it. 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.
The ltmmWMMutualExclusion Object contains the following properties and methods:
Properties
ltmmWMMutualExclusion.StreamCount
Methods
ltmmWMMutualExclusion.AddStream
ltmmWMMutualExclusion.GetStream
ltmmWMMutualExclusion.RemoveStream
Win32, x64
See Also