Hello, I work on a HoloLens chat-kind of application. What I am dealing with is how to play audio of the remote peer on HL. I have a MediaSource from Windows.Media.Core containing the remote audio and video , but simply creating a MediaPlayer and playing does not work. I am only concerned about the audio at the moment. Any suggestion, what might be the problem, or how else could I solve? Thanks!
MediaSource createdSource = MediaSource.CreateFromIMediaSource(source);
var _mediaPlayer = new MediaPlayer { Source = createdSource };
_mediaPlayer.Play();