ProgramCount Property

Summary
Gets the number of programs.
Syntax
C#
C++/CLI
public virtual int ProgramCount { get; } 
public: 
virtual property int ProgramCount { 
   int get(); 
} 

Property Value

A value representing the number of programs.

Remarks

Currently, only MPEG2 Transport files can have more than one program. All the other file formats have only one program, so for them ProgramCount will return 1. If you do have more than one program, call CurrentProgram to get or set the current program.

Once you set the current program, you can use GetStreamCount to find out how many elementary streams are present in the current program.

Use SetSelectedStream to select which streams you wish to play.

For more information on Programs and Streams terminology in LEADTOOLS Multimedia, refer to Programs and Streams.

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.