Check out example codes for "how to stream video from vlc in c#". It will help you in understanding the concepts better.

Code Example 1

class Program
    static void Main(string[] args)
        FileInfo file = new FileInfo(@"C:\Users\Jman\VideoMaker.avi");

        var currentDirectory = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
        // Default installation path of VideoLAN.LibVLC.Windows
        var libDirectory =
            new DirectoryInfo(Path.Combine(currentDirectory, "libvlc", IntPtr.Size == 4 ? "win-x86" : "win-x64"));

        using (var mediaPlayer = new Vlc.DotNet.Core.VlcMediaPlayer(libDirectory))

            var mediaOptions = new[]

            //mediaPlayer.SetMedia(new Uri(""),
            //    mediaOptions);

            mediaPlayer.SetMedia(file, mediaOptions);


            Console.WriteLine("Streaming on rtsp://");
            Console.WriteLine("Press any key to exit");

Learn ReactJs, React Native from