Media playback

March 17, 2026 ยท View on GitHub

This section provides guidance for creating WinUI 3 apps that play back audio and video.

Media playback features

TopicDescription
Play audio and video with MediaPlayerShows you how to play media in a WinUI app with MediaPlayer.
Media items, playlists, and tracksShows you how to use MediaSource in a WinUI app. This class provides a common way to reference and play back media from different sources such as local or remote files, and exposes a common model for accessing media data, regardless of the underlying media format.
Integrate with the System Media Transport ControlsShows you how to interact with the System Media Transport Controls.
Manual control of the System Media Transport ControlsThe SystemMediaTransportControls class enables your app to use the system media transport controls that are built into Windows and to update the metadata that the controls display about the media your app is currently playing.
System-supported timed metadata cuesLearn how to take advantage of several formats of timed metadata that may be embedded in media files or streams.
Create, schedule, and manage media breaksShows you how to create, schedule, and manage media breaks to your media playback app.
Adaptive streamingDescribes how to add playback of adaptive streaming multimedia content to a WinUI app. This feature currently supports playback of Http Live Streaming (HLS) and Dynamic Streaming over HTTP (DASH) content.
HLS tag supportLists the HTTP Live Streaming (HLS) protocol tags supported for WinUI apps.
DASH profile supportLists the Dynamic Adaptive Streaming over HTTP (DASH) profiles supported for WinUI apps.
Media castingShows you how to cast media to remote devices from a WinUI app.
Enable audio playback from remote Bluetooth-connected devicesShows you how to use AudioPlaybackConnection to enable Bluetooth-connected remote devices to play back audio on the local machine.

App samples for media playback