Gets the number of programs.
public virtual int SourceProgramCount { get; }
Public Overridable ReadOnly Property SourceProgramCount As Integer
public:
virtual property int SourceProgramCount {
int get();
}
A value representing the number of programs.
Currently, only MPEG2 Transport files can have more than one program. All the other file formats have only one program, so for them SourceProgramCount will return 1. If you do have more than one program, call CurrentSourceProgram to get or set the current program.
Once you set the current program, you can use GetSourceStreamCount to find out how many elementary streams are present in the current program.
Use SetSelectedSourceStream to select which streams you wish to play.
For more information on Programs and Streams terminology in LEADTOOLS Multimedia, refer to Programs and Streams.
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