IMFASFMutualExclusion interface
Configures an Advanced Systems Format (ASF) mutual exclusion object, which manages information about a group of streams in an ASF profile that are mutually exclusive. When streams or groups of streams are mutually exclusive, only one of them is read at a time, they are not read concurrently.
A common example of mutual exclusion is a set of streams that each include the same content encoded at a different bit rate. The stream that is used is determined by the available bandwidth to the reader.
An IMFASFMutualExclusion interface exists for every ASF mutual exclusion object. A pointer to this interface is obtained when you create the object using the IMFASFProfile::CreateMutualExclusion method.
Members
The IMFASFMutualExclusion interface inherits from the IUnknown interface. IMFASFMutualExclusion also has these types of members:
Methods
The IMFASFMutualExclusion interface has these methods.
| Method | Description |
|---|---|
| AddRecord |
Adds a record to the mutual exclusion object. A record specifies streams that are mutually exclusive with the streams in all other records. |
| AddStreamForRecord |
Adds a stream number to a record in the ASF mutual exclusion object. |
| Clone |
Creates a copy of the ASF mutual exclusion object. |
| GetRecordCount |
Retrieves the number of records in the ASF mutual exclusion object. |
| GetStreamsForRecord |
Retrieves the stream numbers contained in a record in the ASF mutual exclusion object. |
| GetType |
Retrieves the type of mutual exclusion represented by the ASF mutual exclusion object. |
| RemoveRecord |
Removes a record from the ASF mutual exclusion object. |
| RemoveStreamFromRecord |
Removes a stream number from a record in the ASF mutual exclusion object. |
| SetType |
Sets the type of mutual exclusion that is represented by the ASF mutual exclusion object. |
Remarks
An ASF profile object can support multiple mutual exclusions. Each must be configured using a separate ASF mutual exclusion object.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
See also