Page 1 of 1

Streaming RTP with VLC-WinRT from UWP app

Posted: 29 Mar 2019 11:56
by dani924
I am trying to stream audio file via RTP protocol from UWP application to RTP client. I'm using VLC-WinRT. I tried code below but after I run it there are no packets sent (checked with Wireshark).

Code: Select all

Instance instance = new Instance(new List<string> { "--sout=#rtp{dst=239.0.0.1,port=5004}", "--no-sout-all", "--sout-keep", }); StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///NewFolder1/" + "uLaw 8kHz.wav")); Media media = new Media(instance, file.Path, FromType.FromPath); var mediaPlayer = new MediaPlayer(media); mediaPlayer.play();

log is here https://pastebin.com/GJEbysE5

Does anyone have idea what could be problem?