Open
Description
We can call GetSurface on a MediaPlayer to get a composition surface, but there's no notes on it's lifecycle or how to handle it. Does it dispose itself? Should we dispose it? Is it attached to the player as a whole? Or only valid when the player actually has visual output (i.e, disposes itself when Player.Source is null?)
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 7d5f6e40-85e2-8509-3d8e-655ce275733f
- Version Independent ID: abc38dea-1910-26eb-c989-315223a4025c
- Content: Play audio and video with MediaPlayer - UWP app developer
- Content Source: windows-apps-src/audio-video-camera/play-audio-and-video-with-mediaplayer.md
- Service: unspecified
- Product: windows
- GitHub Login: @drewbatgit
- Microsoft Alias: drewbat