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?