public virtual int GetStreamCount(
StreamFormatType streamType
)
Public Overridable Function GetStreamCount( _
ByVal streamType As StreamFormatType _
) As Integer
public:
virtual int GetStreamCount(
StreamFormatType streamType
)
streamType
A StreamFormatType enumeration value specifying the desired stream type Only video and audio streams are currently supported, so this parameter should be StreamFormatType.Audio or StreamFormatType.Video.
A value representing the number of streams.
This property returns the number of streams of a particular type in the current program. You can then select which streams you wish to play by calling SetSelectedStream.
If you change the current program using CurrentProgram, the number of streams might change. So you will need to call PlayCtrl.GetStreamCount again.
Refer to Programs and Streams for more information on Programs and Streams terminology in LEADTOOLS Multimedia.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document