Gets the index of the selected stream of type 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.
A value representing the index of the selected stream (between 0 and StreamCount - 1), where StreamCount is the number of streams of type streamType.
The streams of a particular type are mutually exclusive. In other words, selecting a stream will automatically unselect the previously selected stream of the same type.
If you change the current program using CurrentProgram, the number of streams might change. So you will need to call PlayCtrl.GetSelectedStream again to see which stream is selected.
Do not confuse this with the Source Stream object returned by SourceStream. That refers to an alternative way to provide the source file using a System.IO.Stream object instead of a file on disk. Both properties/methods have the word Stream in the name, but there is no connection between the source stream object and the audio/video streams present in a file.
Refer to Programs and Streams for more information on Programs and Streams terminology in LEADTOOLS Multimedia.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries