How can you play a video from a stream using the Xamarin Community Toolkit MediaElement?

Viewed 606

I'm currently using the Octane.Xamarin.Forms.VideoPlayer to play videos in a Xamarin Forms application, but on Android, the video does not render using the correct aspect ratio, despite trying the various FillMode settings. I want to try to use the MediaElement from the XCT, but have the requirement to play the video from a stream rather than a file on disk, since the media files are encrypted and cannot be read directly. Does anyone know how to use the MediaElement control with a stream providing the video source?

0 Answers
Related