Amin Memar

Amin Memar

  • 1.5k
  • 179
  • 27.2k

streaming video in vlc

Apr 3 2020 6:39 PM
hi 
i want to stream byte video from file in vlc(i am using wpf) 
i used 
  1. <Vlc:VlcControl xmlns:Vlc="clr-namespace:Vlc.DotNet.Wpf;assembly=Vlc.DotNet.Wpf" x:Name="vlcPlayer" Margin="126,61,125.6,88" />  
 and
  1. var currentAssembly = Assembly.GetEntryAssembly();  
  2.             var currentDirectory = new FileInfo(currentAssembly.Location).DirectoryName;  
  3.             // Default installation path of VideoLAN.LibVLC.Windows  
  4.             var libDirectory = new DirectoryInfo(System.IO.Path.Combine(currentDirectory, "libvlc", IntPtr.Size == 4 ? "win-x86" : "win-x64"));  
  5.             vlcPlayer.SourceProvider.CreatePlayer(libDirectory/* pass your player parameters here */);  
  6.             vlcPlayer.SourceProvider.MediaPlayer.Play(new Uri("http://79.170.191.118:1935/formula55_2/stream55_2/playlist.m3u8"));  
 which nothing happening and i dont know how to path my video name
any help 
 
 
 

Answers (1)