i have a C# application where i use the VLC plugin to view Video that is being streamed over the UDP.
my code looks like this:
Code: Select all
using AxAXVLC;
...
private AxVLCPlugin2 vlc;
this.vlc = new AxVLCPlugin2();
this.vlc.FullscreenEnabled = false;
this.vlc.Toolbar = false;
this.vlc.Volume = 50;
this.VolumeSlider.Value = this.vlc.Volume;
but i started vlc once and it asked for an update to version 2.2.1 (latest version)
and since my application is not running anymore
it stops by this.vlc.FullScreenEnabled = false;
or if i delete it then it stops with the same error message by
this.vlc.Toolbar = false;
or
this.vlc.Volume = 50;
and says:
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in AxInterop.AXVLC.dll
Additional information: Unknown error.
i dont know how i can keep using my code without having to get a problem when each time a new version of vlc comes out ?
any suggestions on how to fix this ?
Also,
i tried the vlc.DotNet examples.
In the wpf example
Code: Select all
private void OnPlayButtonClick(object sender, RoutedEventArgs e)
{
myControl.MediaPlayer.Play(new Uri("http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi"));
//myControl.MediaPlayer.Play(new FileInfo(@"..\..\..\Vlc.DotNet\Samples\Videos\BBB trailer.mov"));
}
udp://@:1234
Thanks in advance