SourceProgramCount Property

Summary
Gets the number of programs.
Syntax
C#
VB
C++
publicvirtualintSourceProgramCount {get; }
PublicOverridableReadOnly箴pertySourceProgramCountAsInteger
public:virtual财产intSourceProgramCount {intget();}

箴perty 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 SourceProgramCount will return 1. If you do have more than one program, callCurrentSourceProgramto get or set the current program.

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

UseSetSelectedSourceStreamto select which streams you wish to play.

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

Requirements

Target Platforms

Leadtools.Multimedia Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.