Using MediaPlayerSurface with WinUI3 #892
Unanswered
adarsha-bhat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to convert a code that uses MediaPlayerSurface to WinUI3.
https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/play-audio-and-video-with-mediaplayer#use-mediaplayersurface-to-render-video-to-a-windowsuicomposition-surface
So far I could not find any way to convert it to WinUI3 as the interfaces are not compatible. MediaPlayerSurface.CompositionSurface is of type Windows.UI.Composition.ICompositionSurface, I could not find any method that exposes an interface compatible with WinUI3.
Is there any workaround?
Beta Was this translation helpful? Give feedback.
All reactions