Streaming RTP with VLC-WinRT from UWP app

This forum is about all development around libVLC.
dani924
New Cone
New Cone
Posts: 3
Joined: 29 Mar 2019 11:25

Streaming RTP with VLC-WinRT from UWP app

Postby dani924 » 29 Mar 2019 11:56

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?

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 27 guests