Code: Select all
string uri = "mms://61.136.113.41/nytv_1";
DZ.MediaPlayer.Io.MediaInput mediaInput = new DZ.MediaPlayer.Io.MediaInput(MediaInputType.NetworkStream, uri);
OutFile outfile = new OutFile("D:\\record.mp4");
vlcPlayerControl1.playerOutput.Files.Add(outfile);
vlcPlayerControl1.Play(mediaInput);