STREAMING VIDEO WITH VLC IN C#
Hi,
I want to stream a video on lan using C# with vlc
I have tried the following code in C#, to stream video on localhost.
Can anybody send me the correct LibVlc class????????
Ive tried
http://csharpmagics.blogspot.com/2008/1 ... -cnet.html
but It doesn't work.
I need correct LIbVlc Class that will work. Also help me in these lines of code
string[] options ={ ":sout=#duplicate{dst=std{access=http,dst=127.0.0.1:8080}}" };
vlc.AddTarget(@"F:\video1.wmv", options);
The code I've used in Windows Form is:-
private void button1_Click(object sender, EventArgs e)
{
LibVlc vlc = new LibVlc();
vlc.Initialize();
vlc.VideoOutput = pictureBox1;
vlc.PlaylistClear();
string[] options ={
":sout=#duplicate{dst=std{access=http,dst=127.0.0.1:8080}}" };
vlc.AddTarget(@"F:\video1.wmv", options);
vlc.Play();
}
}