I have to Play and Record UDP Url Video in my WPF Application, For that purpose currently I am using vlc.dotnet.wpf package
In Xaml side I have Assembly
xmlns:wpf="clr-namespace:Vlc.DotNet.Wpf;assembly=Vlc.DotNet.Wpf"
Have Control to play Video
<wpf:VlcControl BorderBrush="White" BorderThickness="1" x:Name="vlcControl1" Grid.Column="0" Background="#FF023602" />
Code behind:
DirectoryInfo vlcLibDirectory = new DirectoryInfo(System.IO.Path.Combine(currentDirectory, "libvlc", IntPtr.Size == 4 ? "win-x86" : "win-x64"));
this.vlcControl1.SourceProvider.CreatePlayer(this.vlcLibDirectory);
vlcControl1.SourceProvider.MediaPlayer.Play(new Uri(@"udp://@127.0.0.1:5000"));
By this I'm Playing UDP Video Successfully, Now I want to record this Video to Specific Directory in my PC, Please guideme what I have to add in my code further to achieve this, Please recommend me any other tool/ Lib etc if it's not easy with vlc plugin. Thank You v Much