GetSourceStreamCount Method

Summary
Gets the number of elementary streams
Syntax
C#
C++/CLI
public int GetSourceStreamCount( 
   StreamFormatType streamType 
) 
public: 
int GetSourceStreamCount(  
   StreamFormatType streamType 
)  

Parameters

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.

Return Value

A value representing the number of streams.

Remarks

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.

Requirements

Target Platforms

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.