Indicates which stream of type streamType should be selected (rendered).
public void SetSelectedStream(
Leadtools.Multimedia.StreamFormatType streamType,
int val
)
Public Sub SetSelectedStream( _
ByVal streamType As Leadtools.Multimedia.StreamFormatType, _
ByVal val As Integer _
)
public:
void SetSelectedStream(
Leadtools.Multimedia.StreamFormatType streamType,
int val
)
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.
val
The 0-based index of the stream to select
The index of the program is 0-based, so it should be between 0 and StreamCount(streamType) - 1, where StreamCount(streamType) is the number of streams of type streamType in the current program. You can get the number of streams of type streamType by calling GetStreamCount(streamType).
The streams of a particular type are mutually exclusive, so selecting one stream will automatically unselect the previously selected stream of the same type.
You can get the index of the current stream by calling GetSelectedStream.
If you change the current program by calling CurrentProgram, the stream selection might change because the number of streams of type streamType might change.
Refer to Programs and Streams for more information on Programs and Streams terminology in LEADTOOLS Multimedia.
Products |
Support |
Feedback: SetSelectedStream Method - Leadtools.Multimedia |
Introduction |
Help Version 19.0.2017.6.16
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.