|
Select specific index of a stream for MP4, MOV, M4v file only.
Public Function MP4SelectStream( ByVal iStreamIndex As Integer ) as Bool
|
Parameter iStreamIndex the index of selected stream.
Return Value Return true if successful, otherwise return false.
Example
|
Visual Basic Syntax MoviePlayer1.FileName = "c:\test.mp4" List1.Clear
For i = 0 To MoviePlayer1.MP4GetStreamCount - 1 List1.AddItem MoviePlayer1.MP4GetStreamName(i) Next
If List1.ListCount > 0 Then List1.ListIndex = 0 End If MoviePlayer1.Play MoviePlayer1.MP4SelectStream 2
|
|
|