I am currently using VlcControl ( Vlc.DotNet.Forms ) to play the video in latest VLC Media player using rtsp url in
c# code _videoControl.Play(new Uri(networkUrl), options);
The issue here is ,the video is not playing in default Video Track 1 but it is playing in Video Track 2.
Is there any way to set the Video Track to 1?
Kindly let me know if any options available to set the video track and play.
You can use this to select the track you want to play : (disclaimer : I'm on my phone and I didn't test the code)
mediaPlayer.SetMedia(...);
mediaPlayer.Parse();
var videoTracks = mediaPlayer.Video.Tracks.All.ToArray();
mediaPlayer.Video.Tracks.Current = videoTracks[0];
mediaPlayer.Play();
The same can be achieved with Audio
for audio tracks