Skip to content

[video_player] Add Windows support using Media Foundation - #13511

Draft
mbfakourii wants to merge 4 commits into
flutter:mainfrom
mbfakourii:video-player-windows-support
Draft

mbfakourii wants to merge 4 commits into
flutter:mainfrom
mbfakourii:video-player-windows-support

Conversation

@mbfakourii

@mbfakourii mbfakourii commented Oct 31, 2026 •

Copy link
Copy Markdown

Adds a Media Foundation Windows backend with texture playback, custom HTTP headers, audio/video track selection, and HLS/DASH bitrate selection. Includes Windows examples and lifecycle/navigation regressions.

Fixes flutter/flutter#37673.

Validation: 142 Dart tests, 27 Windows integration tests, 6 native tests, analyze, validate, and Debug/Release example builds.

Pre-Review Checklist

  • Package-prefixed title, version/CHANGELOG updates, and documentation.
  • Relevant formatting and tests pass.
  • Linked the issue addressed by this change.
  • CLA signed.

@mbfakourii
mbfakourii marked this pull request as ready for review October 31, 2026 05:55

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a Windows implementation to the video_player plugin using Media Foundation and D3D11. It introduces the video_player_windows package, which includes a local loopback relay (HttpSource) to support custom HTTP headers, audio/video track selection, and adaptive streaming (HLS/DASH). Additionally, the PR updates the main video_player package to integrate the Windows implementation, fixes disposal behavior during initialization, and adds corresponding unit and integration tests. No review comments were provided.

@bparrishMines

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Because of the volume of PRs we receive, we require that new contributors use our checklist to guide them through critical steps in creating a Flutter PR. This PR's description is missing that checklist, so it is being marked as a Draft.

Please edit the PR description to add the checklist, then ensure that you have completed all of the steps. Once you've done that, please mark the PR as ready for review.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@bparrishMines

Copy link
Copy Markdown
Contributor

Related PR #5884

@bparrishMines
bparrishMines marked this pull request as draft November 10, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[video_player] Add Windows support

2 participants