Error processing SSI file
LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

Show in webframe

GetSourceStreamCount Method






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.
Gets the number of elementary streams
Syntax
public int GetSourceStreamCount( 
   StreamFormatType streamType
)
'Declaration
 
Public Function GetSourceStreamCount( _
   ByVal streamType As StreamFormatType _
) As Integer
'Usage
 
Dim instance As ConvertCtrl
Dim streamType As StreamFormatType
Dim value As Integer
 
value = instance.GetSourceStreamCount(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

See Also

Reference

ConvertCtrl Class
ConvertCtrl Members
SetSelectedSourceStream Method
GetSelectedSourceStream Method
CurrentSourceProgram Property
SourceProgramCount Property

Error processing SSI file
Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features