Skip to content

fix: update LibVLCSharp to 3.9.7.1 and VideoLAN.LibVLC.Windows to 3.0.23.1 for Windows arm64 support - #23153

Merged
MartinZikmund merged 2 commits into
masterfrom
copilot/fix-mediaplayer-windows-arm64
May 6, 2026
Merged

MartinZikmund merged 2 commits into
masterfrom
copilot/fix-mediaplayer-windows-arm64

Conversation

Copilot AI commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

MediaPlayer fails on Windows-arm64 due to two compounding issues: VideoLAN.LibVLC.Windows < 3.0.23.1 ships no win-arm64 native binaries, and LibVLCSharp < 3.9.7 lacks the arm64 library-loading fix (videolan/libvlcsharp@e1b93f8).

PR Type:

  • 🐞 Bugfix

What is the current behavior? 🤔

LibVLCSharp 3.7.0 (2023) only searches win-x64 paths for native DLLs — no arm64 fallback. VideoLAN.LibVLC.Windows 3.0.21/3.0.23 doesn't ship libvlc\win-arm64\libvlc.dll. Combined: VLCException: Failed to load required native libraries on any Windows arm64 host, leaving MediaPlayerElement blank.

What is the new behavior? 🚀

  • LibVLCSharp 3.9.7.1 correctly resolves the architecture-specific native library path on arm64.
  • VideoLAN.LibVLC.Windows 3.0.23.1 ships libvlc\win-arm64\{libvlc,libvlccore}.dll.

Package version bumps

Package Before After
LibVLCSharp (Win32 addin) 3.7.0 3.9.7.1
LibVLCSharp (X11 addin) 3.7.0 3.9.7.1
LibVLCSharp (Skia.X11 runtime) 3.7.0 3.9.7.1
VideoLAN.LibVLC.Windows (Uno.Sdk packages.json) 3.0.23 3.0.23.1
VideoLAN.LibVLC.Windows (SamplesApp.Skia.Generic) 3.0.21 3.0.23.1

PR Checklist ✅

Please check if your PR fulfills the following requirements:

Other information ℹ️

No API or behavioral changes — pure dependency version bumps. Validation requires a physical Windows arm64 machine or emulated environment.

Copilot AI self-assigned this Apr 28, 2026
Copilot AI review requested due to automatic review settings April 28, 2026 19:34
Copilot AI removed the request for review from Copilot April 28, 2026 19:34
Copilot AI linked an issue Apr 28, 2026 that may be closed by this pull request
1 of 14 tasks
Copilot AI requested review from Copilot and removed request for Copilot April 28, 2026 19:37
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] Fix MediaPlayer failure on Windows-arm64 fix: update LibVLCSharp to 3.9.7.1 and VideoLAN.LibVLC.Windows to 3.0.23.1 for Windows arm64 support Apr 28, 2026
Copilot AI requested a review from jonpryor April 28, 2026 19:40
@github-actions github-actions Bot added area/automation Categorizes an issue or PR as relevant to project automation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk platform/x11 🐧 Categorizes an issue or PR as relevant to X11 labels May 1, 2026
@MartinZikmund
MartinZikmund marked this pull request as ready for review May 4, 2026 08:30
Copilot AI review requested due to automatic review settings May 4, 2026 08:30
@MartinZikmund

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI 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.

Pull request overview

This PR updates VLC-related NuGet dependencies used by Uno’s Skia desktop runtimes/addins and the SamplesApp to enable MediaPlayer on Windows arm64 by ensuring both (1) arm64 native binaries are available and (2) LibVLCSharp resolves the correct architecture-specific native library path.

Changes:

  • Bump LibVLCSharp to 3.9.7.1 in the Skia X11 runtime and MediaPlayer Skia addins (Win32 + X11).
  • Bump VideoLAN.LibVLC.Windows to 3.0.23.1 in Uno.Sdk/packages.json and the Skia Generic SamplesApp project.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Uno.UI.Runtime.Skia.X11/Uno.UI.Runtime.Skia.X11.csproj Updates LibVLCSharp reference to 3.9.7.1.
src/Uno.Sdk/packages.json Updates the SDK-pinned VideoLAN.LibVLC.Windows version to 3.0.23.1.
src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csproj Updates the SamplesApp’s VideoLAN.LibVLC.Windows package to 3.0.23.1.
src/AddIns/Uno.UI.MediaPlayer.Skia.X11/Uno.UI.MediaPlayer.Skia.X11.csproj Updates LibVLCSharp reference to 3.9.7.1.
src/AddIns/Uno.UI.MediaPlayer.Skia.Win32/Uno.UI.MediaPlayer.Skia.Win32.csproj Updates LibVLCSharp reference to 3.9.7.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund merged commit 1925a96 into master May 6, 2026
66 of 67 checks passed
@MartinZikmund
MartinZikmund deleted the copilot/fix-mediaplayer-windows-arm64 branch May 6, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk platform/x11 🐧 Categorizes an issue or PR as relevant to X11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MediaPlayer fails on Windows-arm64

6 participants