←Select platform

MultiStreamTarget Class Members

Summary

The following tables list the members exposed by MultiStreamTarget.

Public Constructors

Name Description
Public Constructor MultiStreamTarget Instantiates a MultiStreamTarget object.

Public Methods

Name Description
Public Method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public Method GetAcceptedMediaType Gets a copy of the media type accepted by the MultiStreamTarget object.
Public Method GetConnectedMediaType Gets a copy of the connected media type of the stream.
Public Method GetSample Gets a media sample delivered from a stream.
Public Method SetAcceptedMediaType Sets the media type of a stream.
Public Method WaitForSample Waits for a sample from any source.

Public Properties

Name Description
Public Property StreamCount Gets or sets the number of streams supported by the multi-stream target object.
Public Property TargetFormat Gets or sets the target format accepted by the sample target object. By default, the value of this property is ltmmSampleTarget_TargetFormat_Undefined. If you assign a value to the TargetFormat property that matches your expected final output format, then only media types that are accepted by the assigned format will be allowed. The AcceptedMediaType values are still honored, however, only the parts of the AcceptedMediaType that are not specified (GUID_NULL) are compared with the TargetFormat. You can still force a pin to only accept a major type of Video, and have the rest depend on the target format, by simply assigning an AcceptedMediaType with only the major type of video defined.

See Also

MultiStreamTarget Class

Leadtools.Multimedia Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.