Gets the number of elementary streams
public int GetSourceStreamCount(
StreamFormatType streamType
)
Public Function GetSourceStreamCount( _
ByVal streamType As Leadtools.Multimedia.StreamFormatType _
) As Integer
public:
int GetSourceStreamCount(
Leadtools.Multimedia.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 SetSelectedSourceStream.
If you change the current program using CurrentSourceProgram, the number of streams might change. So you will need to call ConvertCtrl.GetSourceStreamCount again.
Refer to Programs and Streams for more information on Programs and Streams terminology in LEADTOOLS Multimedia.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET