title: how can i stream a video from my c# app using libvlc?
body: <p>I am trying to write a client-server videostreaming app in c# and i am using libvlc.
  The client is working fine, but i am not sure how can i do the server.
  It is like the client, with the modification to media AddOptions method? and then play the media?</p>
  
  <p>UPDATE: I have tried this:</p>
  
  <pre><code>    private void button1_Click(object sender, EventArgs e)
      {
          //MyLibVlc vlc = new MyLibVlc();
          string[] args = new string[] { "-I", "dummy", "--ignore-config","" };
          instance = new VlcInstance(args);
          //:sout=#rtp{dst=79.114.124.180,port=5004,mux=ts,ttl=1} :sout-keep
          player = null;
          string source = "D:\\CM.mp4" ;
          VlcMedia media = new VlcMedia(instance, source);
          string[] options=new string[]{":sout=#rtp{dst=79.114.124.180,port=5004,mux=ts,ttl=1} :sout-keep"};
          media.AddOptions(options);
          if (player == null)
          {
              player = new VlcMediaPlayer(media);
          }
          else
          {
              player.Media = media;
          }
          player.Play();
  
      }
  </code></pre>
  
  <p>and i have looked in the log file. Could not open file...
  I passed the arg in a wrong way, or something is missing.</p>