i create vlc playlist xspf file now i want to stream it with Libvlcsharp codes as follows. this code working fine with video file but .xspf file not respond
code :
LibVLCSharp.Shared.LibVLC _libVLC; MediaPlayer _mp;
_libVLC = new LibVLCSharp.Shared.LibVLC("-I", "null");
_mp = new MediaPlayer(_libVLC);
string xspf_file = @"D:\sample.xspf";
var media1 = new Media(_libVLC,xspf_file,FromType.FromPath);
media1.AddOption(":sout=#transcode{acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:udp{dst=224.2.2.26:2226,mux=ts}");
_mp.Play(media1);
MessageBox.Show("play success");