CurrentSourceProgram Property

Summary
Gets or sets the number of the current program for the media file.
Syntax
C#
C++/CLI
public virtual int CurrentSourceProgram { get; set; } 
public: 
virtual property int CurrentSourceProgram { 
   int get(); 
   void set (    int ); 
} 

Property Value

A value representing the number of the current program.

Remarks

This value is zero-based - it can be between 0 and SourceProgramCount - 1. Once the current program has been set, the number of elementary streams might have changed. 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.

Requirements

Target Platforms

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.